Skip to main content
POST
Generate Prompt Suggestions

Authorizations

X-API-Key
string
header
required

Body

topic_id
string

Generates for this topic alone instead of every topic awaiting review, replacing the suggestions it already has.

Minimum string length: 1
Example:

"to_e6b8cdd3-a51b-4d94-a866-28dbe6b830a6"

prompt_suggestion_id
string

Replaces this one Prompt Builder suggestion, keeping its id, topic and market.

Minimum string length: 1
Example:

"pr_93f790de-5b7a-45ee-b782-61103c81f20d"

segment
object

Adds suggestions for one slice of a topic, keeping the suggestions it already has. Any dimension left unset is filled from the project's target distribution and markets.

Response

Generation queued

Generation queued

topic_id
string

The first topic generated for. Present when the project had no suggestions yet and the run produced one while this request waited.