Prompts
Review prompt candidates
Accepts or rejects candidate prompts by id. Accepted candidates become prompts of the set. 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}/candidates/review
Needs the prompts:write scope
Accepts or rejects candidate prompts by id. Accepted candidates become prompts of the set. 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 | Description |
|---|---|
accept_ids | Default [] |
reject_ids | Default [] |
Response 200: PromptCandidateReviewResponse