Skip to main content
PATCH
Change a prompt

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Project id (proj_…) or slug (the domain with dots as dashes).

promptId
string
required

Prompt id (prm_…).

Body

application/json
text
string
Required string length: 3 - 1000
topicId
string | null
intent
enum<string>
Available options:
informational,
commercial,
transactional

Response

The prompt, or its replacement

prompt
object
required