latestOpenAPI 3.0.02026-08-19219210532.7 KB

bd5a5f406bca

dashboard
bff

Get session statistics for activity performance

get/api/v1/activity-performance/session-stats

Query parameters

teamIdstring uuid

Optional. Restrict stats to members of this team. Omit to include all manageable teams.

teamIdsstring[]

Optional. Restrict stats to members of these teams. Omit to include all manageable teams.

userIdsstring[]

Optional. Restrict stats to specific learner UUIDs. Omit to include all manageable learners.

trackIdsstring[]

Optional. Restrict stats to sessions on missions belonging to these tracks (resolved server-side). Blank/whitespace entries are dropped; an all-empty list is treated as no filter. Omit to include all tracks.

missionIdsstring[]

Optional. Restrict stats to sessions on these missions directly. Takes precedence over trackIds when provided (no server-side track resolution). Blank/whitespace entries are dropped; an all-empty list is treated as no filter. Omit to derive missions from trackIds, or to include all missions.

fromDatestring date-time

Optional. Inclusive lower bound (>=) on the session create date, ISO 8601. Omit for no lower bound.

toDatestring date-time

Optional. Inclusive upper bound (<=) on the session create date, ISO 8601. Omit for no upper bound.

Response

averageScorenumber required
averageScoreImprovementnumber required
completedCountinteger required

Number of completed sessions (score >= 70) in the period. Counts every completed session, so a mission completed more than once counts more than once.

sessionsCompletedinteger required
tracksCompletedinteger required