Agents
Create Custom Agent
Open Source
Partners
- AgentOps-AI
- CrewAIInc
Conversations
Prompts
Search
Agents
Providers
Tools
Usage
Potpie API
Secret Manager
Health
Agents
Create Custom Agent
Create a new custom agent
POST
/
api
/
v1
/
custom-agents
/
agents
{
"role": "<string>",
"goal": "<string>",
"backstory": "<string>",
"system_prompt": "<string>",
"id": "<string>",
"user_id": "<string>",
"tasks": [
{
"description": "<string>",
"tools": [
"<string>"
],
"expected_output": "<any>",
"id": 123
}
],
"deployment_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deployment_status": "<string>",
"visibility": "private"
}
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
.
{
"role": "<string>",
"goal": "<string>",
"backstory": "<string>",
"system_prompt": "<string>",
"id": "<string>",
"user_id": "<string>",
"tasks": [
{
"description": "<string>",
"tools": [
"<string>"
],
"expected_output": "<any>",
"id": 123
}
],
"deployment_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deployment_status": "<string>",
"visibility": "private"
}