---
title: "Get Validation Exercises For Subchapitre"
method: GET
path: "/holiday-courses/subchapitres/{sub_chapitre_id}/validation-exercises"
tags: ["Holiday Courses - Student"]
---

# Get Validation Exercises For Subchapitre

`GET /holiday-courses/subchapitres/{sub_chapitre_id}/validation-exercises`

Returns all HolidayCourseExercises linked to the specified sub_chapitre_id,
including their default status and the current student's attempt status
(passed/failed/not_attempted) for each.
Uses aggregation pipeline to prevent N+1 query memory leaks.

## Path parameters

- `sub_chapitre_id` string, required

## Response `200`

Successful Response

- HolidayExerciseForStudent[]
  - `_id` string
  - `title` string, nullable
  - `content` string, required
  - `solution` string, required
  - `difficulty` 'easy' | 'medium' | 'hard', required
  - `hints1` string, nullable
  - `hints2` string, nullable
  - `hints3` string, nullable
  - `sub_questions` HolidaySubQuestion[], nullable
    - `identifier` string, required
    - `label` string, required
  - `created_by_admin_id` string, required
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `link_id` string, required
  - `is_default` boolean, required
  - `attempt_status` 'passed' | 'failed', nullable

## 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/a8ae0e0c0570?raw)
