> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-codex-docs-audit-20260719-0149.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Approval



## OpenAPI

````yaml get /approvals/{approval_id}
openapi: 3.1.0
info:
  title: Agno API Reference
  description: The all-in-one, private, secure agent platform that runs in your cloud.
  version: 2.7.4
servers: []
security: []
paths:
  /approvals/{approval_id}:
    get:
      tags:
        - Approvals
      summary: Get Approval
      operationId: get_approval_approvals__approval_id__get
      parameters:
        - name: approval_id
          in: path
          required: true
          schema:
            type: string
            title: Approval Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthenticatedResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenResponse'
        '404':
          description: Approval not found or not visible to the caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Approval could not be retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
        '503':
          description: Approvals are not supported by the configured database
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableResponse'
      security:
        - {}
        - HTTPBearer: []
components:
  schemas:
    ApprovalResponse:
      properties:
        id:
          title: Id
          type: string
        run_id:
          type: string
          title: Run Id
        session_id:
          type: string
          title: Session Id
        status:
          type: string
          title: Status
        source_type:
          type: string
          title: Source Type
        approval_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Approval Type
        pause_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Pause Type
        tool_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Tool Name
        tool_args:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Tool Args
        expires_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Expires At
        agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Id
        team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Id
        workflow_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow Id
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
        schedule_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Schedule Id
        schedule_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Schedule Run Id
        source_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Name
        requirements:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Requirements
        context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Context
        resolution_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Resolution Data
        resolved_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved By
        resolved_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Resolved At
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Updated At
        run_status:
          anyOf:
            - $ref: '#/components/schemas/RunStatus'
            - type: 'null'
      type: object
      required:
        - id
        - run_id
        - session_id
        - status
        - source_type
      title: ApprovalResponse
      description: Response model for a single approval.
    UnauthenticatedResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Error detail message
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
          description: Error code for categorization
      type: object
      required:
        - detail
      title: UnauthenticatedResponse
      example:
        detail: Unauthenticated access
        error_code: UNAUTHENTICATED
    ForbiddenResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Error detail message
      type: object
      required:
        - detail
      title: ForbiddenResponse
      example:
        detail: Insufficient permissions
    NotFoundResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Error detail message
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
          description: Error code for categorization
      type: object
      required:
        - detail
      title: NotFoundResponse
      example:
        detail: Not found
        error_code: NOT_FOUND
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InternalServerErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Error detail message
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
          description: Error code for categorization
      type: object
      required:
        - detail
      title: InternalServerErrorResponse
      example:
        detail: Internal server error
        error_code: INTERNAL_SERVER_ERROR
    ServiceUnavailableResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Error detail message
      type: object
      required:
        - detail
      title: ServiceUnavailableResponse
      example:
        detail: Feature not supported by the configured service
    RunStatus:
      type: string
      enum:
        - PENDING
        - RUNNING
        - COMPLETED
        - PAUSED
        - CANCELLED
        - ERROR
        - REGENERATED
      title: RunStatus
      description: State of the main run response
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````