Skip to main content
POST
/
api
/
prompts
/
create
Create a new prompt
curl --request POST \
  --url https://your-instance.example.com/api/prompts/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "prompt": "<string>",
  "responseTime": 123,
  "description": "<string>",
  "isHidden": true,
  "temperature": 123
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
prompt
string
responseTime
number
description
string
isHidden
boolean
temperature
number

Response

Prompt created successfully

Generic response envelope. Endpoint-specific fields are intentionally open.