Prompts
Activate or archive prompts
Sets the status of up to 500 prompts of one prompt set to active or archived in one change, and returns the updated set. Every id must be a prompt of that set, or nothing changes. Activation is refused when a prompt does not fit its topic or the plan has no prompt slots for it. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
POST/v1/projects/{project_id}/prompt-sets/{prompt_set_id}/prompts/bulk-status
Needs the prompts:write scope
Sets the status of up to 500 prompts of one prompt set to active or archived in one change, and returns the updated set. Every id must be a prompt of that set, or nothing changes. Activation is refused when a prompt does not fit its topic or the plan has no prompt slots for it. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
Path parameters
| Parameter |
|---|
project_id |
prompt_set_id |
Headers
| Parameter |
|---|
Idempotency-Key |
Request body
| Parameter |
|---|
prompt_ids |
status |
Response 200: PromptSet