Get a quiz with all questions and correct answers
GET/quizzes/:quiz_id
Returns the full quiz payload — title, description, creator
(privacy floor: id + first_name + last_name only), and every
question with its options + per-type correct_answer. This is
the primary endpoint the practice player calls to render a
quiz.
Correct answers are intentionally included on the wire --
AskAtlas is a study aid, not a proctored exam. Hiding answers
for protected questions (the is_protected column) is out of
scope for the MVP and tracked separately.
Response shape per question type:
multiple-choice--optionsis a string array of option text insort_orderascending;correct_answeris the text of the option whoseis_correctflag is true.true-false--optionsis omitted from the wire;correct_answeris a boolean (resolved from the canonical "True" option'sis_correctflag).freeform--optionsis omitted;correct_answeris thequiz_questions.reference_answerstring.
Authorization: any authenticated user can fetch any quiz that is live AND whose parent study guide is live. There is no per-viewer access control beyond authentication.
404 covers BOTH the quiz being missing/soft-deleted AND the parent study guide being soft-deleted (matches the rest of the quizzes surface).
Request
Responses
- 200
- 401
- 404
- 500
The full quiz payload with all questions and resolved correct answers.
Unauthorized
Not found
Internal server error