Get all agents for the authenticated user
x-api-key header.
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request was successful |
agents | array | Array of agent objects |
agents[].agent_id | integer | Unique agent identifier |
agents[].name | string | Agent name |
agents[].avatar_id | integer | Avatar ID |
agents[].language | string | Language code |
agents[].custom_greeting | string | Custom greeting message |
agents[].context | string | AI context/instructions |
agents[].status | string | Agent status |
agents[].created_at | string | ISO 8601 creation timestamp |
agents[].updated_at | string | ISO 8601 last update timestamp |
agents[].last_used_at | string | ISO 8601 last usage timestamp |
agents[].total_sessions | integer | Total number of sessions |
agents[].avg_duration | number | Average session duration in seconds |
agents[].avatar_name | string | Avatar display name |
agents[].avatar_url | string | Avatar image URL |
agents[].voice_id | string | Voice ID from the avatar (null if avatar has no voice) |
updated_at in descending order (most recently updated first)total_sessions, avg_duration)avatar_name, avatar_url, voice_id)voice_id comes from the avatar, not the agent directly401 Unauthorized - Invalid or missing authentication403 Forbidden - Insufficient permissions500 Internal Server Error - Server error