Prompts
Update a prompt
Changes a prompt’s text, classification, topic, status (active or archived) or whether it runs. This is how to activate, archive or refile a prompt. Send only the fields to change; the updated prompt is returned.
PATCH/v1/projects/{project_id}/prompts/{prompt_id}
Needs the prompts:write scope
Changes a prompt’s text, classification, topic, status (active or archived) or whether it runs. This is how to activate, archive or refile a prompt. Send only the fields to change; the updated prompt is returned.
Path parameters
| Parameter |
|---|
project_id |
prompt_id |
Request body
| Parameter |
|---|
text |
theme |
intent |
buyer_stage |
persona |
cohort |
enabled |
status |
topic_id |
Response 200: Prompt