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

# Get Pr Approval

> Read a PR approval record (any org member) for the dashboard to render.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/apps/{app_id}/pr-approvals/{approval_id}
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/apps/{app_id}/pr-approvals/{approval_id}:
    get:
      tags:
        - pr-approvals
      summary: Get Pr Approval
      description: Read a PR approval record (any org member) for the dashboard to render.
      operationId: pr_approvals_get_pr_approval
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - name: approval_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Approval Id
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrApprovalRequestResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    PrApprovalRequestResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        app_id:
          type: string
          format: uuid
          title: App Id
        pr_number:
          type: integer
          title: Pr Number
        repo_full_name:
          type: string
          title: Repo Full Name
        head_sha:
          type: string
          title: Head Sha
        status:
          $ref: '#/components/schemas/PrApprovalStatus'
        gated_ops_snapshot:
          items: {}
          type: array
          title: Gated Ops Snapshot
        gated_set_hash:
          type: string
          title: Gated Set Hash
        requested_at:
          type: string
          format: date-time
          title: Requested At
        decided_by_user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Decided By User Id
        decided_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Decided At
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
      type: object
      required:
        - id
        - app_id
        - pr_number
        - repo_full_name
        - head_sha
        - status
        - gated_ops_snapshot
        - gated_set_hash
        - requested_at
        - decided_by_user_id
        - decided_at
        - expires_at
      title: PrApprovalRequestResponse
      description: >-
        A PR-time infra-gate approval record, for the dashboard approval page.


        Mirrors ApprovalRequestResponse but is keyed by its own id (a PR's
        identity is

        (app, repo, pr_number); the row id is the unambiguous handle the
        comment/email

        link to). Governance L6 / #824.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    PrApprovalStatus:
      type: string
      enum:
        - pending
        - approved
        - rejected
        - superseded
        - expired
        - consumed
      title: PrApprovalStatus
      description: Lifecycle status of a PR-time approval request.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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