POST
/
api
/
v1
/
custom-agents
/
agents
/
auto
{
  "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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
prompt
string
required

Response

200
application/json
Successful Response
role
string
required
goal
string
required
backstory
string
required
system_prompt
string
required
id
string
required
user_id
string
required
tasks
object[]
required
created_at
string
required
updated_at
string
required
deployment_status
string | null
required
deployment_url
string | null