Skip to main content
POST
Create prompt

Authorizations

API-Key
string
header
required

"Enter your organization API key. Example: 'cs_live_xxxx'"

Body

application/json

Create prompt request

content
string
required

Prompt content (max 1000 characters)

Maximum string length: 1000
Example:

"How can we get our service to appear in AI search?"

promptSetID
string
required

ID of the prompt set it belongs to (required)

Example:

"IkVMHhjFWcBXcJ41-h9yBQ"

Response

Created

id
string
required

ID of the created prompt. Used as the promptID in the prompt get, update, and delete paths and as a promptIDs value in prompt run requests

Example:

"cM0RPoxbNbJy0mS-MhsHOg"