---
title: "Update prompt"
method: PUT
path: "/v1/private/prompts/{id}"
tags: ["Prompts"]
---

# Update prompt

`PUT /v1/private/prompts/{id}`

Update prompt

## Path parameters

- `id` string, uuid, required

## Request body

- PromptUpdatable
  - `name` string, required
  - `description` string
  - `tags` string[]

## Response `204`

No content

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
