Retrieve all AI agents configured in your organization
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | API Key format: Token <token> |
| Org-Handle | string | Yes | Organization domain handle |
Org-Handle by hitting the Get All Organizations API. The domain_handle field in the response is your Org-Handle.| Field | Type | Description |
|---|---|---|
| count | integer | Total number of agents |
| status_code | integer | HTTP status code |
| message | string | Response message |
| data | array | Array of agent objects |
| Field | Type | Description |
|---|---|---|
| handle | string | Unique agent handle/identifier |
| name | string | Agent display name |
| type | string | Agent type: Voice, Chat, etc. |
| state | string | Agent state: published, draft, archived |
| purpose | string | Agent purpose/use case description |
| Status Code | Description |
|---|---|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters provided |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Access denied to the resource |
| 404 | Not Found - Organization not found |
| 500 | Internal Server Error - Server-side error |
handle field — it is used as the agent_handle path parameter in other agent endpointsstate in your application to show only published agents