Prompts
Create Prompt
POST
/
api
/
v1
/
prompts
/
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
text
string
requiredThe text content of the prompt
Minimum length:
1
type
enum<string>
requiredType of the prompt (System or Human)
Available options:
SYSTEM
, HUMAN
status
enum<string> | null
default: ACTIVEStatus of the prompt (active or inactive)
Available options:
ACTIVE
, INACTIVE
Response
200 - application/json
id
string
requiredUnique identifier of the prompt
text
string
requiredThe text content of the prompt
type
enum<string>
requiredType of the prompt (System or Human)
Available options:
SYSTEM
, HUMAN
version
integer
requiredVersion number of the prompt
status
enum<string>
requiredStatus of the prompt (active or inactive)
Available options:
ACTIVE
, INACTIVE
created_at
string
requiredTimestamp of when the prompt was created
updated_at
string
requiredTimestamp of when the prompt was last updated
created_by
string | null
ID of the user who created the prompt