Skip to main content
POST
Create a prompt under a topic

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Body

application/json
topicId
string<uuid>
required
promptTemplate
string
required
language
string | null
attributes
string[]

Optional. Omitting the key is the same as sending []. When present, must be an array of attributes from the project's allowed list.

Response

Prompt created

id
string<uuid>
required
topicId
string<uuid>
required
promptTemplate
string
required
isActive
boolean
required
attributes
string[]
required
topicName
string
intentType
string | null
language
string | null
isManual
boolean
createdAt
string<date-time>