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

# List time-off requests

> The employee's time-off requests with their status (pending, approved, declined, cancelled), dates, days (`amount`), policy, each approver's decision, and attachments. Defaults to the caller; `employee_id` reads someone else's and needs the admin role or being their approver. Requires the `time-off:read` scope.



## OpenAPI

````yaml /openapi.json get /time-off/requests
openapi: 3.1.1
info:
  title: A-Char API
  version: 1.0.0
  description: 'Authenticate with `Authorization: Bearer <api key>`.'
servers:
  - url: https://a-char.com/api/v1
security:
  - bearerAuth: []
paths:
  /time-off/requests:
    get:
      tags:
        - Time off requests
      summary: List time-off requests
      description: >-
        The employee's time-off requests with their status (pending, approved,
        declined, cancelled), dates, days (`amount`), policy, each approver's
        decision, and attachments. Defaults to the caller; `employee_id` reads
        someone else's and needs the admin role or being their approver.
        Requires the `time-off:read` scope.
      operationId: timeOff.list
      parameters:
        - name: employee_id
          in: query
          schema:
            type: string
            format: uuid
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      format: uuid
                    status:
                      enum:
                        - approved
                        - pending
                        - declined
                        - canceled
                      type: string
                    policy_id:
                      type: string
                      format: uuid
                    policy:
                      type: object
                      properties:
                        name:
                          type: string
                        is_approval_required:
                          type: boolean
                      required:
                        - name
                        - is_approval_required
                      additionalProperties: {}
                    start_date:
                      type: string
                      format: date
                    start_date_type:
                      enum:
                        - FULL_DAY
                        - AM
                        - PM
                      type: string
                    end_date:
                      type: string
                      format: date
                    end_date_type:
                      enum:
                        - FULL_DAY
                        - AM
                        - PM
                      type: string
                    amount:
                      type: number
                    note:
                      anyOf:
                        - type: string
                        - type: 'null'
                    requested_at:
                      anyOf:
                        - type: string
                        - type: 'null'
                    approvers:
                      type: array
                      items:
                        type: object
                        properties:
                          approver:
                            type: object
                            properties:
                              id:
                                type: string
                                format: uuid
                              display_name:
                                type: string
                              email:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - id
                              - display_name
                              - email
                            additionalProperties: {}
                          status:
                            enum:
                              - approved
                              - pending
                              - declined
                              - canceled
                            type: string
                          level_order:
                            type: number
                          decisioned_at:
                            anyOf:
                              - type: string
                              - type: 'null'
                          note:
                            anyOf:
                              - type: string
                              - type: 'null'
                        required:
                          - approver
                          - status
                          - level_order
                          - decisioned_at
                          - note
                        additionalProperties: {}
                    time_off_documents:
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                          file_path:
                            type: string
                          kind:
                            enum:
                              - request
                              - approval
                              - decline
                              - attachment
                            type: string
                        required:
                          - name
                          - file_path
                        additionalProperties: {}
                  required:
                    - id
                    - status
                    - policy_id
                    - policy
                    - start_date
                    - start_date_type
                    - end_date
                    - end_date_type
                    - amount
                    - note
                    - requested_at
                    - approvers
                    - time_off_documents
                  additionalProperties: {}
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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