Skip to main content
POST
Add an active prompt

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
text
string
required
Required string length: 3 - 1000
intent
enum<string>
required
Available options:
informational,
commercial,
transactional
topicId
string | null

Response

Created

prompt
object
required