Skip to main content
PATCH
Update prompt

Authorizations

Authorization
string
header
required

Developer API key from Dashboard → Settings → Developer API

Path Parameters

id
string<uuid>
required

ID of the prompt.

Body

application/json

Only the supplied fields are changed, and variables is re-extracted whenever promptText is sent. An empty object is accepted and is a true no-op — it does not even bump updatedAt.

name
string
Required string length: 1 - 100
promptText
string

Supports {{variableName}} placeholders.

Required string length: 1 - 10000

Response

Prompt updated

prompt
object
required