Skip to main content
GET
Get a quiz attempt

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Path Parameters

uuid
string
required

QuizAttempt identifier

Response

QuizAttempt resource

id
integer
read-only
uuid
string | null
quiz
string<iri-reference>
Example:

"/api/v1/course_quizzes/1"

user
string<iri-reference>
Example:

"/api/v1/users/1"

startedAt
string<date-time>
submittedAt
string<date-time> | null
score
number | null
passed
boolean
default:false
answers
(string | null)[] | null
detailedResults
(string | null)[] | null
attemptNumber
integer
default:1
timeSpent
integer | null
dateCreated
string<date-time>
dateUpdated
string<date-time>