Skip to main content
GET
/
api
/
v1
/
admin
/
stats
Get Dashboard Stats
curl --request GET \
  --url https://api.seamind.xyz/api/v1/admin/stats \
  --header 'Authorization: Bearer <token>'
{
  "totalCrew": 123,
  "activeCrew": 123,
  "totalShips": 123,
  "totalCourses": 123,
  "totalPrograms": 123,
  "completionRate": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Overview stats for admin dashboard.

totalCrew
integer
required
activeCrew
integer
required
totalShips
integer
required
totalCourses
integer
required
totalPrograms
integer
required
completionRate
number
required