Get all stat card data for admin analytics page.
cURL
curl --request GET \ --url https://api.example.com/api/v1/learn/admin/analytics/stats \ --header 'Authorization: Bearer <token>'
{ "fleet": { "overallCompliance": 123, "totalRegistrations": 123, "completedRegistrations": 123, "overdueTrainings": 123, "avgDaysToComplete": 123, "activeEnrollments": 123 }, "courses": { "avgScore": 123, "hardestCourse": "<string>", "hardestCourseScore": 123, "highestPassRateCourse": "<string>", "highestPassRate": 123 }, "crew": { "crewTrained": 123, "totalCrew": 123, "avgCompletionDays": 123, "atRiskCrew": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
Was this page helpful?