---
title: "Org Update"
method: PATCH
path: "/v1/prompts/{key}"
tags: ["prompts"]
---

# Org Update

`PATCH /v1/prompts/{key}`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/prompts/{key}`
- Auth: none declared

## Path parameters

- `key` string, required

## Request body

- PromptPatchIn
  - `category` string, nullable
  - `section` string, nullable
  - `subsection` string, nullable
  - `tier` string, nullable
  - `phase` string, nullable
  - `agent` string, nullable
  - `i18n_key` string, nullable
  - `title` string, nullable
  - `template` string, nullable
  - `variables` string[], nullable
  - `description` string, nullable
  - `enabled` boolean, nullable
  - `is_default` boolean, nullable

## Response `200`

Successful Response

- PromptDetailOut
  - `v` integer
  - `prompt` PromptOut, required
    - `key` string, required
    - `category` string, nullable, required
    - `section` string, nullable, required
    - `subsection` string, nullable, required
    - `tier` string, nullable, required
    - `phase` string, nullable, required
    - `agent` string, nullable, required
    - `i18n_key` string, nullable, required
    - `title` string, required
    - `template` string, required
    - `variables` string[], required
    - `description` string, nullable, required
    - `enabled` boolean, required
    - `is_default` boolean, required
    - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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