---
title: "Update Prompt"
method: PATCH
path: "/prompts/{prompt_id}"
tags: ["Project"]
---

# Update Prompt

`PATCH /prompts/{prompt_id}`

Update a prompt's topic and tags within a project

## Path parameters

- `prompt_id` string, required

## Request body

- object
  - `topic_id` string, nullable
  - `tag_ids` string[]

## Response `200`

Prompt updated successfully

- object — Prompt updated successfully

## Other responses

- `404` — Response for status 404

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/revisions/92840a1bffa7/schema)
