Skip to content

QuizResponses

Defined in: v1/schemas.ts:637

The quiz responses object containing course context and all student responses.

graded — reflects the quiz-level grading setting. If false, student percent_correct values will not be populated regardless of whether students have completed the quiz.

  • output<typeof QuizResponsesSchema>

course_id: number

Defined in: v1/schemas.ts:621

z.infer.course_id


optional course_name?: string

Defined in: v1/schemas.ts:622

z.infer.course_name


graded: boolean

Defined in: v1/schemas.ts:625

z.infer.graded


lecture_id: number

Defined in: v1/schemas.ts:623

z.infer.lecture_id


optional lecture_name?: string

Defined in: v1/schemas.ts:624

z.infer.lecture_name


responses: { percent_correct?: number | null; student_email?: string | null; student_id: number; student_name?: string | null; submitted_at?: string | null; }[]

Defined in: v1/schemas.ts:626

optional percent_correct?: number | null

optional student_email?: string | null

student_id: number

optional student_name?: string | null

optional submitted_at?: string | null

z.infer.responses