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

# List Tool Call Approvals

> Tool calls held for approval in this workspace, newest first.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces/{workspace}/tool-call-approvals
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/workspaces/{workspace}/tool-call-approvals:
    get:
      tags:
        - v1
        - protected
        - tool-call-approvals
      summary: List Tool Call Approvals
      description: Tool calls held for approval in this workspace, newest first.
      operationId: list_tool_call_approvals_v1_tool_call_approvals_get
      parameters:
        - description: Slug of the workspace the request acts in
          in: path
          name: workspace
          required: true
          schema:
            description: Slug of the workspace the request acts in
            maxLength: 120
            pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
            title: Workspace
            type: string
        - in: query
          name: status
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ToolCallApprovalStatus'
              - type: 'null'
            title: Status
        - in: query
          name: page
          required: false
          schema:
            default: 1
            maximum: 10000
            minimum: 1
            title: Page
            type: integer
        - in: query
          name: page_size
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Page Size
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolCallApprovalListResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ToolCallApprovalStatus:
      enum:
        - pending
        - approved
        - rejected
        - consumed
        - expired
      title: ToolCallApprovalStatus
      type: string
    ToolCallApprovalListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ToolCallApprovalResponse'
          title: Items
          type: array
        page:
          title: Page
          type: integer
        page_size:
          title: Page Size
          type: integer
        total:
          title: Total
          type: integer
      required:
        - items
        - total
        - page
        - page_size
      title: ToolCallApprovalListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ToolCallApprovalResponse:
      properties:
        arguments:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Arguments
        can_decide:
          title: Can Decide
          type: boolean
        client_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Id
        client_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Name
        comment:
          anyOf:
            - type: string
            - type: 'null'
          title: Comment
        connector:
          title: Connector
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        decided_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Decided At
        decided_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Decided By
        expires_at:
          format: date-time
          title: Expires At
          type: string
        hint:
          anyOf:
            - type: string
            - type: 'null'
          title: Hint
        id:
          title: Id
          type: string
        mcp_instance_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Mcp Instance Id
        policy_name:
          title: Policy Name
          type: string
        reason:
          title: Reason
          type: string
        requested_by:
          title: Requested By
          type: string
        status:
          $ref: '#/components/schemas/ToolCallApprovalStatus'
        tool:
          title: Tool
          type: string
        url:
          title: Url
          type: string
      required:
        - id
        - status
        - requested_by
        - client_id
        - client_name
        - mcp_instance_id
        - connector
        - tool
        - policy_name
        - arguments
        - reason
        - hint
        - can_decide
        - decided_by
        - decided_at
        - comment
        - expires_at
        - created_at
        - url
      title: ToolCallApprovalResponse
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.