Get struggling quiz-mastery students
Returns staff-facing rows for students who reached the configured attempt threshold on a gated quiz.
The effective staff viewer is authorized against the acting user’s verified JWT. Administrators
receive tenant-wide results; teachers receive only students who share an active class with them.
Results are paginated by student-quiz cohort so all attempts used for one classification remain on
the same page. Continue with the opaque nextCursor value when present.
Client-credential callers must forward the signed Cognito user ID token in X-ID-Token.
This route authorizes its effective-viewer parameters directly because its raw cohort CTE cannot
consume the platform visibility filter used by standard ORM-backed cross-user reads.
Students who have not yet met the quiz threshold are categorized as struggling. Students whose first passing attempt was at or after the configured minimum are categorized as mastered_after_struggle. Passing before the minimum excludes the student from this view.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
First attempt number included in the struggling cohort
Optional course sourcedId filter
Optional mastery cohort filter applied before pagination
struggling, mastered_after_struggle Maximum number of student-quiz cohorts returned per page
1 <= x <= 100Opaque cursor returned by the previous page
1Server-resolved effective viewer sourcedId. The authenticated user must be authorized to assume this viewer.
1Server-resolved active role for the effective viewer. Must be supplied with effectiveViewerId.
administrator, teacher