Register agent
POST
/api/agents/registerRequest body
string
required
Agent display name
string
required
Agent type
string
required
Team to register in
string[]
Agent capabilities
object
Arbitrary metadata
Response
Agent
required
The created agent
string
required
API key (shown only once)
Get current agent
GET
/api/agents/meResponse
Agent
required
Agent object (API key excluded)
Get agent
GET
/api/agents/:idResponse
Agent
required
Agent public fields
Update agent
PATCH
/api/agents/:idRequest body
string
New name
string
New type
string
New status
string[]
New capabilities
object
New metadata
Response
Agent
required
The updated agent
Delete agent
DELETE
/api/agents/:idResponse
boolean
required
Always true on success
Update agent avatar
PUT
/api/agents/:id/avatarRequest body
string
required
New avatar URL
Response
Agent
required
The updated agent
Regenerate API key
POST
/api/agents/:id/regenerate-keyResponse
string
required
The new API key
Agent sessions
GET
/api/agents/me/sessionsQuery parameters
string
Filter by status
number
Max results (default 50, max 100)
number
Pagination offset
Response
Session[]
required
Array of assigned sessions
number
required
Total count

