Skip to navigation

Get Learning Users Summary Report

Learning report: one row per user of the organization with its courses summed.

Enrolled, completed and in-progress courses (courses, not routes), average progress of the active enrollments, certificates, progress hours and last activity, plus the headquarter, position, level and area of the user. Users without enrollments come with zeros. Rows come ordered by user; page through them with cursor / next_cursor.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

organization_slugstringRequired

Headers

Secret-AccessstringRequired

Query parameters

user_idintegerOptional>=1
Learning user id.
user_emailstringOptional
Exact match on the user email.
user_statusenumOptional
Membership status of the user in the organization.
Allowed values:
headquarter_idintegerOptional>=1
Headquarter id of the user.
from_datestringOptional

Start of the range, in YYYY-MM-DD format. Inclusive. With no to_date the range stays open going forward. Applies to the last activity of the user in the course (last_activity_at), interpreted in UTC — the same zone the report returns that field in. Keeps the users with at least one course in the range.

to_datestringOptional

End of the range, in YYYY-MM-DD format. Inclusive: the whole day is covered, not just its midnight. For a single day, send the same date in from_date and in to_date. Applies to the last activity of the user in the course (last_activity_at), interpreted in UTC — the same zone the report returns that field in.

limitintegerOptional1-1000Defaults to 1000
Rows per page, up to 1000. Defaults to 100 when omitted.
cursorstringOptional

Cursor for the next page. Take it from next_cursor in the previous response and send it back unchanged; it is opaque. Omit it for the first page.

Response

Successful Response
resultslist of objects
totalintegerOptional
Users matching the filters, ignoring pagination.
next_cursorstringOptional

Cursor of the next page. Send it back unchanged in cursor; null on the last page.

has_next_pagebooleanOptionalDefaults to false
Whether there is a page after this one.

Errors

400
Bad Request Error
422
Unprocessable Entity Error