---
title: "Update topic"
method: PATCH
path: "/v1/models/{modelId}/topic/{topicName}"
tags: ["Topics"]
---

# Update topic

`PATCH /v1/models/{modelId}/topic/{topicName}`

## Request

- Base URL: `https://blobsrus.omniapp.co/api`
- URL: `https://blobsrus.omniapp.co/api/v1/models/{modelId}/topic/{topicName}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Update an existing topic.

## Path parameters

- `modelId` string, uuid, required
- `topicName` string, required

## Query parameters

- `branch_id` string, uuid

## Request body

- object
  - `description` string: Description of the topic, shown in the topic picker
  - `groupLabel` string: Group label for the topic
  - `hidden` boolean: Whether the topic is hidden from the topic picker.
  - `label` string: The display label for the topic
  - `newTopicName` string: The new name of the topic, if performing a rename.

## Response `200`

Topic updated successfully

- SuccessResponse
  - `success` boolean

## Other responses

- `400`: Invalid request body
- `401`: Authentication required
- `403`: Permission denied
- `404`: Model or topic not found

## Changes

- **2026-11-03** `43290040f88f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omni/apis/omni-api/changes/v1/models/:modelId/topic/:topicName/patch.md)

---

[API](https://skmtc.dev/omni/apis/omni-api.md) - [All operations](https://skmtc.dev/omni/apis/omni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omni/apis/omni-api/revisions/43290040f88f?raw)
