Agent API
The Agent API allows you to manage and retrieve AI agents configured in your Unpod platform. Agents are voice AI entities that handle calls, follow personas, and execute tasks.Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.
What You Can Do
| Endpoint | Description |
|---|---|
GET /api/v2/platform/agents/ | Retrieve all agents in your organization |
GET /api/v2/platform/agents/{agent_handle}/tasks/ | Retrieve all tasks assigned to a specific agent |
GET /api/v2/platform/agents/{agent_handle}/executions/ | Retrieve all executions for a specific agent |
Base URL
Authentication
All Agent API requests require a valid API token and Org-Handle in the headers:Common Error Codes
| Status Code | Description |
|---|---|
| 200 | Success - Request completed successfully |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Access denied to the resource |
| 404 | Not Found - Agent not found |
| 500 | Internal Server Error - Server-side error |