> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentchain.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get pending approval count

> Returns the number of pending approval requests for the authenticated operator. Used by dashboard sidebar badges and SDK polling.



## OpenAPI

````yaml GET /api/v1/approvals/count
openapi: 3.0.0
info:
  title: AgentChain & PRIOR API
  description: The centralized gateway for the decentralized compute network.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.agentchain.xyz
    description: Production
security: []
tags: []
paths:
  /api/v1/approvals/count:
    get:
      tags:
        - Approval Queue
      summary: Get pending approval count
      description: >-
        Returns the number of pending approval requests for the authenticated
        operator. Used by dashboard sidebar badges and SDK polling.
      operationId: ApprovalController_count
      parameters: []
      responses:
        '200':
          description: Pending approval count
          content:
            application/json:
              schema:
                type: object
                properties:
                  pending:
                    type: number
                    example: 3
                    description: Number of pending approvals
      security:
        - x-api-key: []
        - bearer: []
components:
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````