---
title: "Batch Update School Level"
method: POST
path: "/admin/annales-exercises/batch-update-school-level"
tags: ["Admin - Annales Exercises"]
---

# Batch Update School Level

`POST /admin/annales-exercises/batch-update-school-level`

Batch-set schoolLevel on matching exercises.

## Request body

- BatchUpdateSchoolLevelRequest — Request model for batch-setting schoolLevel on exercises.
  - `school_level` string, required — School level to set: 'Terminale', 'Première', or 'Brevet'
  - `exercise_ids` string[], nullable — Specific exercise IDs to update. If None, uses filter criteria.
  - `year` integer, nullable
  - `session` string, nullable
  - `topic` string, nullable
  - `difficulty` string, nullable
  - `source_annale` string, nullable

## Response `200`

Successful Response

- BatchUpdateSchoolLevelResponse
  - `updated_count` integer, required
  - `message` string, 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/8d495ed916c6/schema)
