---
title: "Execute Annales Ai Review"
method: POST
path: "/admin/annales-exercises/ai-review/execute"
tags: ["Admin - Annales Exercises"]
---

# Execute Annales Ai Review

`POST /admin/annales-exercises/ai-review/execute`

## 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/annales-exercises/ai-review/execute`
- Auth: OAuth 2 (password, token URL `api/login`)

Execute AI review on annales exercises matching the filters.
Uses concurrent processing with up to 10 parallel workers.
The AI checks formatting issues (<br> in LaTeX), completeness, and LaTeX validity.

## Request body

- AnnalesAIReviewRequest: Request model for AI review of annales exercises.
  - `year` integer, nullable
  - `session` string, nullable
  - `topic` string, nullable
  - `difficulty` string, nullable
  - `school_level` string, nullable
  - `skip_to_review` boolean: Skip exercises already marked as to_review
  - `skip_with_change_request` boolean: Skip exercises that already have a pending change request

## Response `200`

Successful Response

- AnnalesAIReviewResponse: Response for AI review operation.
  - `success` integer, required
  - `failed` integer, required
  - `skipped` integer, required
  - `no_change` integer, required
  - `change_requests` integer, required
  - `marked_to_review` integer, required
  - `results` AnnalesAIReviewResultItem[], required
    - `exercise_id` string, required
    - `title` string, required
    - `action` 'none' | 'change_request' | 'to_review', required
    - `reason` string, nullable
    - `error` string, 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/379e4a57dee8?raw)
