---
title: "Download Classe Exercises"
method: GET
path: "/admin/holiday-courses/classes/{classe_id}/download-exercises"
tags: ["Admin - Holiday Courses"]
---

# Download Classe Exercises

`GET /admin/holiday-courses/classes/{classe_id}/download-exercises`

## 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/admin/holiday-courses/classes/{classe_id}/download-exercises`
- Auth: OAuth 2 (password, token URL `api/login`)

Download all exercises for a holiday course classe as a Markdown file.

This endpoint aggregates all exercises from all chapters and sub-chapters
of the specified classe and returns them as a downloadable Markdown file.

Args:
    classe_id: The ID of the holiday course classe
    admin: Current admin user (authentication required)
    db: Database connection

Returns:
    StreamingResponse: Markdown file containing all exercises

Raises:
    HTTPException: If classe not found or other errors occur

## Path parameters

- `classe_id` string, required: The ID of the holiday course classe

## Response `200`

Successful Response

## 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)
