---
title: "Update Topic Details"
method: PUT
path: "/admin/topics/{topic_id}"
tags: ["admin"]
---

# Update Topic Details

`PUT /admin/topics/{topic_id}`

Update the given topic with new LaTeX or images arrays.
Return the updated topic.

## Path parameters

- `topic_id` string, required

## Request body

- TopicUpdate — Fields you allow to be updated.
  - `title` string, nullable
  - `latex_course` string, nullable
  - `latex_exercise` string, nullable
  - `latex_correction` string, nullable
  - `images_course` string[], nullable
  - `images_exercise` string[], nullable
  - `images_correction` string[], nullable

## Response `200`

Successful Response

- TopicDetail — Detailed topic info for editing.
  - `id` string, required
  - `title` string, required
  - `latex_course` string, nullable
  - `latex_exercise` string, nullable
  - `latex_correction` string, nullable
  - `images_course` string[]
  - `images_exercise` string[]
  - `images_correction` string[]
  - `status` 'undetermined' | 'wrong' | 'to_edit' | 'ready'

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