ScormCourseAttempt

A request or response body; the type column links to the schemas it refers to.

ScormCourseAttempt

FieldTypeRequiredDescription
idstring (uuid)yes—
course_idstring (uuid)yes—
organization_idstring (uuid)yes—
user_idstring (uuid)yes—
attempt_numberintegeryes—
package_version_numberintegeryes

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.

statusstringyes

one of "in_progress" | "closed"

api_flavorstring | nullyes

one of "scorm-1.2" | "scorm-2004" | null

completion_statusstringyes

one of "completed" | "incomplete" | "not_attempted" | "unknown"

success_statusstringyes

one of "passed" | "failed" | "unknown"

score_rawnumber | nullyes—
score_maxnumber | nullyes—
score_scalednumber | nullyes

0..1 (SCORM 2004 allows -1..1); from cmi.score.scaled, else raw/min/max.

progress_measurenumber | nullyes—
locationstring | nullyes

Where the learner left off (cmi location), as the module reported it.

total_time_secondsnumberyes

Learning time accumulated across every session of this attempt.

started_atstring (date-time)yes—
last_commit_atstring (date-time) | nullyes—
completed_atstring (date-time) | nullyes—
passedboolean | nullyes

From success_status: passed/failed => true/false, unknown => null.

closed_atstring (date-time) | nullyes—
learning_record_idstring (uuid) | nullyes

The learning record this attempt's completion reported into, if any.

user_display_namestring | nullyes—
user_emailstring | nullyes—
jsonExample
{
  "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",
  "user_display_name": "string",
  "user_email": "string"
}