Prepaid AIDocsv1
StatusSign in

API reference

List agents

GET/api/v1/agents

The AI agents in the workspace.

1 min read
GET
curl https://app.prepaid.ai/api/v1/agents \  -H "Authorization: Bearer $PREPAID_API_KEY"
Response · 200
{  "workspaceId": "3f6c1e70-9a4d-4a58-b6a2-2f0f0f9d1c11",  "agents": [    {      "id": "0f2c9f5a-2b31-4a7e-9c11-8a1f5d3e7b20",      "name": "Front desk",      "status": "live"    },    {      "id": "6d4a1b88-77c3-4f0e-9a12-b3d5e9f10c44",      "name": "After hours",      "status": "draft"    }  ]}

Every agent in the workspace, archived ones included.

agents[].idstringalways present
The agent’s id.
agents[].namestringalways present
Your label for it. Never spoken to callers.
agents[].statusstringalways present
draft, live, paused or archived. Only live answers a phone.