Skip to main content
POST
/
v1
/
agents
Openclaw Create
curl --request POST \
  --url https://api.deepinfra.com/v1/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "agent_type_id": "openclaw",
  "plan_id": "standard"
}
'
{
  "instance_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null

Body

application/json
name
string
required

Instance name

Required string length: 1 - 64
agent_type_id
string
default:openclaw

Agent type identifier

plan_id
string
default:standard

Plan identifier

Response

Successful Response

instance_id
string
required

Instance ID