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

# List approval requests

> Requires `approval.read`. Results are scoped to the authenticated tenant. This reference is generated from source; consult the authenticated live schema for deployment-specific availability. Search q is a literal case-insensitive substring of detection title/reference, Organization name or requester display label, trimmed at the edges and bounded to 200 characters. Search, status/subject filters and sorting apply before count and pagination. Sort accepts request, organization, requester, requested or status with _asc/_desc. Missing optional request/Organization context sorts last; requester labels use full name or email, falling back to System when unavailable. Status sorts the displayed Approved/Declined/Pending labels. Omitted sort preserves created-time descending; equal values use descending approval UUID. Generic subjects and missing context remain in the unfiltered queue. This read cannot approve, decline or execute a change.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/approvals
openapi: 3.1.0
info:
  title: Alignr API
  version: 0.1.0
  description: >-
    Selected read operations. Generated from the Alignr application; no tenant
    data is included.
servers:
  - url: https://api.alignr.io
security: []
paths:
  /api/v1/approvals:
    get:
      tags:
        - Remediations
      summary: List approval requests
      description: >-
        Requires `approval.read`. Results are scoped to the authenticated
        tenant. This reference is generated from source; consult the
        authenticated live schema for deployment-specific availability. Search q
        is a literal case-insensitive substring of detection title/reference,
        Organization name or requester display label, trimmed at the edges and
        bounded to 200 characters. Search, status/subject filters and sorting
        apply before count and pagination. Sort accepts request, organization,
        requester, requested or status with _asc/_desc. Missing optional
        request/Organization context sorts last; requester labels use full name
        or email, falling back to System when unavailable. Status sorts the
        displayed Approved/Declined/Pending labels. Omitted sort preserves
        created-time descending; equal values use descending approval UUID.
        Generic subjects and missing context remain in the unfiltered queue.
        This read cannot approve, decline or execute a change.
      operationId: list_approvals_api_v1_approvals_get
      parameters:
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ApprovalStatus'
              - type: 'null'
            title: Status
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 200
              - type: 'null'
            title: Q
        - name: sort
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - request_asc
                  - request_desc
                  - organization_asc
                  - organization_desc
                  - requester_asc
                  - requester_desc
                  - requested_asc
                  - requested_desc
                  - status_asc
                  - status_desc
                type: string
              - type: 'null'
            title: Sort
        - name: subject_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Subject Type
        - name: subjectType
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Subjecttype
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 100000
                minimum: 1
              - type: 'null'
            description: 1-based page number
            title: Page
          description: 1-based page number
        - name: pageSize
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Rows per page
            title: Pagesize
          description: Rows per page
        - name: limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Rows per page (alias of pageSize)
            title: Limit
          description: Rows per page (alias of pageSize)
        - name: offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 20000000
                minimum: 0
              - type: 'null'
            description: Rows to skip (alias of page)
            title: Offset
          description: Rows to skip (alias of page)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Approvals Api V1 Approvals Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    ApprovalStatus:
      type: string
      enum:
        - pending
        - approved
        - rejected
      title: ApprovalStatus
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
    BearerAuth:
      type: http
      scheme: bearer
      description: An Alignr API key.

````

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