---
title: "Preview Ai Review"
method: POST
path: "/calcul-exercises/ai-review/preview"
tags: ["Calcul Exercises"]
---

# Preview Ai Review

`POST /calcul-exercises/ai-review/preview`

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

Preview AI review operation - shows how many exercises will be reviewed.

## Request body

- AIReviewRequest: Request model for AI review of exercises
  - `category_path` string[], required: Category path to review (will include all subfolders)
  - `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

- AIReviewPreviewResponse: Response for AI review preview (before confirmation)
  - `total_templates` integer, required
  - `already_to_review` integer, required
  - `has_change_request` integer, required
  - `to_be_reviewed` integer, required
  - `template_ids` 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.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
