Skip to main content
POST
Suggest prompts

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Project id (proj_…) or slug (the domain with dots as dashes).

Body

application/json
intent
enum<string>
required
Available options:
informational,
commercial,
transactional
branded
boolean
default:false

Whether every suggestion names the own brand

topicId
string | null

Topic to write for; omitted means the project as a whole

count
integer
default:5
Required range: 1 <= x <= 10

Response

Suggestions

suggestions
string[]
required

New prompt texts, not yet saved; none repeats a prompt

{key}
any