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

# Get My Course Quiz

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

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/knowledge-quiz/my-courses/{course_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

Get the knowledge quiz for a user's own 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.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
