Skip to main content
POST
/
agents
/
{agent_id}
/
keys
Create Key
curl --request POST \
  --url https://api.ara.so/agents/{agent_id}/keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "requests_per_minute": 20
}
'
{
  "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.

Path Parameters

agent_id
string
required

Body

application/json
name
string | null
requests_per_minute
integer
default:20
Required range: 1 <= x <= 1000

Response

Successful Response