Skip to main content
After a student completes one or more lesson attempts, you can retrieve their history and review per-question results. This is useful for building review screens, progress dashboards, or retry flows.

List past attempts

Call lessons.attempts() to get all attempts for a lesson:
Each attempt includes attempt number, score, finalized status, totalQuestions, and correctQuestions.
See the reference for the full return type.

Get attempt details

To see per-question data for a specific attempt, call lessons.attemptDetails():

Extract questions

Use getLessonAttemptQuestions() to get a flat list of questions from the response:
Each question includes id, correct, studentResponse, and content.rawXml for re-rendering.
See the reference for full type documentation.
The raw response shape differs by lesson type. Adaptive lessons (powerpath-100) return seenQuestions, which is only the questions PowerPath actually served (the count varies per student). Linear lessons (quiz, test-out, etc.) return questions, which is the full fixed set for the attempt.getLessonAttemptQuestions() normalizes both into a single LessonAttemptQuestion[]. If you need to distinguish the two (e.g., to show “X of Y questions seen” for adaptive lessons), check details.lessonType and access the raw fields directly.

Build a review screen

A typical review flow:

Next steps

Lesson discovery

Start a new lesson

Reference

Parameters, properties, methods, and return types