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

# Get Course Quiz

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

Get the knowledge quiz for a course (without answers).
If attempt_id is provided, returns questions resolved with that attempt's
random variation selections and order.

## Path parameters

- `course_id` string, required

## Query parameters

- `attempt_id` string, nullable

## Response `200`

Successful Response

- QuizResponse — Response for getting a quiz (student view).
  - `id` string, required
  - `course_id` string, required
  - `questions` QuestionResponse[], required
    - `question_id` string, required
    - `question_type` string, required
    - `question` string, required
    - `options` string[], required
    - `points_max` number
  - `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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/ef67479ed898/schema)
