Prompts
Create Prompt
Open Source
Partners
- AgentOps-AI
- CrewAIInc
Conversations
Prompts
Search
Agents
Providers
Tools
Usage
Potpie API
Secret Manager
Health
Prompts
Create Prompt
POST
/
api
/
v1
/
prompts
{
"id": "<string>",
"text": "<string>",
"type": "SYSTEM",
"version": 123,
"status": "ACTIVE",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
{
"id": "<string>",
"text": "<string>",
"type": "SYSTEM",
"version": 123,
"status": "ACTIVE",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}