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

# List pending approvals

> Returns paginated list of pending approval requests for all agents owned by the authenticated user. Only non-expired pending approvals are returned.



## OpenAPI

````yaml /openapi.json get /api/approvals
openapi: 3.1.0
info:
  title: Mandate API
  version: 1.2.0
  description: >-
    Non-custodial agent wallet policy layer. Enforces spend limits, allowlists,
    and approval workflows for AI agent transactions without ever receiving
    private keys.
  contact:
    name: Mandate
    url: https://mandate.md
    email: support@mandate.md
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://app.mandate.md
    description: Production
security: []
tags:
  - name: Registration
    description: >-
      Agent registration and claiming. No auth required for register; Sanctum
      auth for claim.
  - name: Agent API
    description: >-
      Endpoints authenticated with a runtime key (Bearer mndt_live_... or
      mndt_test_...). Used by agents to validate transactions, post events, and
      poll status.
  - name: Intent Lifecycle
    description: >-
      Post transaction hashes after broadcast and poll intent status until
      confirmed.
  - name: Dashboard
    description: >-
      Dashboard endpoints for human operators. Authenticated via Sanctum
      (cookie-based session).
  - name: Policies
    description: >-
      Policy management for agents. List, create, and view policy
      configurations.
  - name: Approvals
    description: Approval queue for transactions that require human review.
paths:
  /api/approvals:
    get:
      tags:
        - Approvals
      summary: List pending approvals
      description: >-
        Returns paginated list of pending approval requests for all agents owned
        by the authenticated user. Only non-expired pending approvals are
        returned.
      operationId: listApprovals
      parameters:
        - name: page
          in: query
          required: false
          description: Page number (20 items per page).
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: Paginated list of pending approvals.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedApprovals'
      security:
        - SanctumAuth: []
components:
  schemas:
    PaginatedApprovals:
      type: object
      properties:
        current_page:
          type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApprovalEntry'
        last_page:
          type: integer
        per_page:
          type: integer
          example: 20
        total:
          type: integer
    ApprovalEntry:
      type: object
      properties:
        id:
          type: string
          format: uuid
        intent_id:
          type: string
          format: uuid
        agent_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
        expires_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
        intent:
          $ref: '#/components/schemas/IntentSummary'
        agent:
          $ref: '#/components/schemas/AgentSummary'
    IntentSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
        action:
          type:
            - string
            - 'null'
        reason:
          type:
            - string
            - 'null'
        amount_usd_computed:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
    AgentSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        wallet_address:
          type:
            - string
            - 'null'
  securitySchemes:
    SanctumAuth:
      type: apiKey
      in: cookie
      name: laravel_session
      description: >-
        Laravel Sanctum cookie-based session authentication. Obtained via GitHub
        OAuth login on the dashboard.

````