---
title: "Batch Reformat Exercises"
method: POST
path: "/public-exercises/batch-reformat"
tags: ["public_exercises"]
---

# Batch Reformat Exercises

`POST /public-exercises/batch-reformat`

Reformat multiple exercises at once using LLM.
Only admins can use this feature.

## Request body

- RoutersPublicExercisesBatchReformatRequest
  - `exercise_ids` string[], required
  - `field` 'content' | 'solution', required

## Response `200`

Successful Response

- RoutersPublicExercisesBatchReformatResponse
  - `results` object[], required
  - `failed_ids` string[]

## 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)
