Approval Queue
Get pending approval count
Changed onReturns the number of pending approval requests for the authenticated operator. Used by dashboard sidebar badges and SDK polling.
get/api/v1/approvals/count
Request
- Base URLhttps://api.agentchain.cloud
- URLhttps://api.agentchain.cloud/api/v1/approvals/count
- Auth
- API key in header x-api-key
- or HTTP bearer
Response
Pending approval count
Example response
{
"pending": 3
}Changes
- breaking
the
response's property type changed fromintegertonumberfor status - info
removed the non-success response with the status
- breaking
- info
endpoint added
- info