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

# List approvals

> The approval requests of a project, with kind, status, document hash and when they were decided.



## OpenAPI

````yaml openapi/en/control.json GET /v1/projects/{project_id}/approvals
openapi: 3.1.0
info:
  title: Niadra control API
  version: '1'
  description: >-
    Tenants, projects, sources, keys, people, configuration and usage. It never
    receives customer content.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/projects/{project_id}/approvals:
    get:
      tags:
        - accounts
      summary: List approvals
      description: >-
        The approval requests of a project, newest first, with kind, status,
        document hash and when they were decided.


        **Authentication.** Person token issued by the control plane
        (`Authorization: Bearer <JWT>`), with the role the operation needs.
      operationId: list_approvals_v1_projects__project_id__approvals_get
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            format: uuid
            title: Project Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Approval'
                title: Response List Approvals V1 Projects  Project Id  Approvals Get
                type: array
          description: Successful Response
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - personToken: []
components:
  schemas:
    Approval:
      additionalProperties: false
      description: >-
        An approval asked of the project's controller. The link goes only to its
        DPO's e-mail.
      properties:
        approval_id:
          format: uuid
          title: Approval Id
          type: string
        decided_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Decided At
        document_hash:
          description: SHA-256 of the canonical JSON of what the controller approves.
          title: Document Hash
          type: string
        expires_at:
          format: date-time
          title: Expires At
          type: string
        kind:
          enum:
            - purposes
            - policy_loosening
            - retention
            - operators
            - transfer
            - access_review
            - emergency_access
            - ripd
          title: Kind
          type: string
        project_id:
          format: uuid
          title: Project Id
          type: string
        requested_at:
          format: date-time
          title: Requested At
          type: string
        status:
          enum:
            - pending
            - approved
            - rejected
            - expired
          title: Status
          type: string
        subject_ref:
          title: Subject Ref
          type: string
      required:
        - approval_id
        - project_id
        - kind
        - subject_ref
        - status
        - document_hash
        - requested_at
        - expires_at
      title: Approval
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````