Skip to main content
POST
/
agents
Create Agent
curl --request POST \
  --url https://api.ara.so/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "system_prompt": "",
  "model": "anthropic/claude-sonnet-4-20250514",
  "max_tokens": 4096,
  "temperature": 0.7
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

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
Required string length: 1 - 100
description
string | null
system_prompt
string
default:""
model
string
default:anthropic/claude-sonnet-4-20250514
max_tokens
integer
default:4096
Required range: 1 <= x <= 32768
temperature
number
default:0.7
Required range: 0 <= x <= 2

Response

Successful Response