---
title: "Add New Exercises"
method: POST
path: "/teacher-exams/{exam_id}/subjects/exercises/add"
tags: ["Teacher Exams Subjects"]
---

# Add New Exercises

`POST /teacher-exams/{exam_id}/subjects/exercises/add`

Add new exercises to an existing structured exam.
This generates new exercises using the provided parameters and appends them to the existing exercises with new IDs.

## Path parameters

- `exam_id` string, required

## Request body

- AddExerciseRequest
  - `class_level` string, required
  - `chapters` string, required
  - `thematics` string, required
  - `difficulty` integer, required
  - `number_of_exercises` integer, required
  - `additional_thematics` string, nullable

## Response `200`

Successful Response

- object

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