ScormAttempt
A request or response body; the type column links to the schemas it refers to.
ScormAttempt
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | — |
| course_id | string (uuid) | yes | — |
| organization_id | string (uuid) | yes | — |
| user_id | string (uuid) | yes | — |
| attempt_number | integer | yes | — |
| package_version_number | integer | yes | The course package version the attempt was launched against and keeps running, whatever the course serves now: 1 for the registered upload, one more per replacement. |
| status | string | yes | one of "in_progress" | "closed" |
| api_flavor | string | null | yes | one of "scorm-1.2" | "scorm-2004" | null |
| completion_status | string | yes | one of "completed" | "incomplete" | "not_attempted" | "unknown" |
| success_status | string | yes | one of "passed" | "failed" | "unknown" |
| score_raw | number | null | yes | — |
| score_max | number | null | yes | — |
| score_scaled | number | null | yes | 0..1 (SCORM 2004 allows -1..1); from cmi.score.scaled, else raw/min/max. |
| progress_measure | number | null | yes | — |
| location | string | null | yes | Where the learner left off (cmi location), as the module reported it. |
| total_time_seconds | number | yes | Learning time accumulated across every session of this attempt. |
| started_at | string (date-time) | yes | — |
| last_commit_at | string (date-time) | null | yes | — |
| completed_at | string (date-time) | null | yes | — |
| passed | boolean | null | yes | From success_status: passed/failed => true/false, unknown => null. |
| closed_at | string (date-time) | null | yes | — |
| learning_record_id | string (uuid) | null | yes | The learning record this attempt's completion reported into, if any. |
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"course_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"user_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"attempt_number": 0,
"package_version_number": 0,
"status": "in_progress",
"api_flavor": "scorm-1.2",
"completion_status": "completed",
"success_status": "passed",
"score_raw": 0,
"score_max": 0,
"score_scaled": 0,
"progress_measure": 0,
"location": "string",
"total_time_seconds": 0,
"started_at": "2026-01-01T00:00:00.000Z",
"last_commit_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"passed": true,
"closed_at": "2026-01-01T00:00:00.000Z",
"learning_record_id": "1b671a64-40d5-491e-99b0-da01ff1f3341"
}