---
title: "Update Topic"
method: PATCH
path: "/v1/prompts/topics/{topic_id}"
tags: ["prompts"]
---

# Update Topic

`PATCH /v1/prompts/topics/{topic_id}`

## Path parameters

- `topic_id` string, required

## Request body

- UpdatePromptTopicRequest
  - `name` string, required

## Response `200`

Successful Response

- PublicPromptTopic
  - `id` string, required
  - `name` string, required
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-15** `820f778732b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usesapient/apis/sapient-public-api/changes/v1/prompts/topics/:topic_id/patch.md)

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) · [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesapient/sapient-public-api/revisions/820f778732b1/schema)
