---
title: "Get Teacher Course Quiz"
method: GET
path: "/knowledge-quiz/teacher/courses/{course_id}"
tags: ["knowledge-quiz"]
---

# Get Teacher Course Quiz

`GET /knowledge-quiz/teacher/courses/{course_id}`

Get the knowledge quiz for a course with all variations (teacher view).

## Path parameters

- `course_id` string, required

## Response `200`

Successful Response

- QuizWithVariationsResponse — Response for getting a quiz with all variations (teacher view).
  - `id` string, required
  - `course_id` string, required
  - `questions` QuestionWithVariationsResponse[], required
    - `question_id` string, required
    - `question_type` string, required
    - `topic` string, required
    - `variations` VariationResponse[], required
      - `question` string, required
      - `options` string[], required
      - `correct_answer_index` integer, required
      - `explanation` string, nullable
      - `expected_answer` string, nullable
      - `criteria` string[]
  - `total_questions` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
