Prompts
Generate prompts
Asks CiteLadder to propose new prompts for a prompt set, optionally for chosen topics. The proposals arrive as candidates to review; nothing is added to the prompt set until you accept them. 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}/generate
Needs the prompts:write scope
Asks CiteLadder to propose new prompts for a prompt set, optionally for chosen topics. The proposals arrive as candidates to review; nothing is added to the prompt set until you accept them. 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 |
|---|---|
count | Default 10 |
topic_ids | Default [] |
topic_id | |
mode | One of marketbrandDefault"market" |
cohort | One of corebrand_diagnosticcomparisonDefault"core" |
run_context | |
distribution | |
distribution.branded_share | Default 0 |
distribution.comparison_share | Default 0 |
distribution.intent_mix | |
distribution.intent_mix.informational | |
distribution.intent_mix.commercial | |
distribution.intent_mix.transactional | |
distribution.personas | Default [] |
seed_source | |
seed_query_ids | Default [] |
Response 201: PromptGenerateResponse