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

Path parameters
Parameter
project_idstring (uuid)pathrequired
prompt_set_idstring (uuid)pathrequired

Headers

Headers
Parameter
Idempotency-Keystringheaderrequired

Request body

Request body
ParameterDescription
countintegerbody
Default10
topic_idsstring (uuid)[]body
Default[]
topic_idstring (uuid) | nullbody
modestringbody
One ofmarketbrandDefault"market"
cohortstringbody
One ofcorebrand_diagnosticcomparisonDefault"core"
run_contextstring | nullbody
distributionobject | nullbody
distribution.branded_sharenumberbody
Default0
distribution.comparison_sharenumberbody
Default0
distribution.intent_mixobject | nullbody
distribution.intent_mix.informationalnumberbodyrequired
distribution.intent_mix.commercialnumberbodyrequired
distribution.intent_mix.transactionalnumberbodyrequired
distribution.personasstring[]body
Default[]
seed_source"search_console" | "search_intelligence" | "none" | nullbody
seed_query_idsstring (uuid)[]body
Default[]

Response 201: PromptGenerateResponse