Approval Queue

Get pending approval count

Changed on

Returns 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 URL
    https://api.agentchain.cloud
  • URL
    https://api.agentchain.cloud/api/v1/approvals/count
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Response

Pending approval count

pendingnumber

Number of pending approvals

Example response

{
  "pending": 3
}

Changes