---
title: "Reads all Leaves"
method: GET
path: "/api/2026-07-01/resources/timeoff/leaves"
tags: ["Timeoff > Leave"]
---

# Reads all Leaves

`GET /api/2026-07-01/resources/timeoff/leaves`

Reads all Leaves

## Query parameters

- `ids[]` string[] — The leave ids to retrieve
- `employee_ids[]` string[] — The employee ids to retrieve
- `leave_type_id[]` string[] — The leave type id to retrieve
- `to` string — Valid date following the format YYYY-MM-DD
- `from` string — Valid date following the format YYYY-MM-DD
- `only_active` boolean — Retrieve only active leaves
- `include_deleted_leaves` boolean, required — Whether to include deleted leaves (not included by default if not specified)
- `approved` boolean — Retrieve approved leaves
- `include_pending` boolean — Retrieve pending leaves
- `include_leave_type` boolean — Retrieve leave types
- `include_duration` boolean — Retrieve leave duration
- `type_is_workable` boolean — Retrieve workable leaves
- `type_is_payable` boolean — Retrieve payable leaves

## Response `200`

OK

- object
  - `data` TimeoffLeave[]
    - `id` string, required — Identifier of the Leave
    - `company_id` string, required — Company identifier of the employee of the leave
    - `employee_id` string, required — Employee identifier of the leave
    - `start_on` string, required — The start date of the leave
    - `finish_on` string — The end date of the leave
    - `half_day` string — Indicates if the leave is taken as a half-day
    - `description` string — A description of the leave
    - `reason` string — The reason provided by the employee for taking the leave
    - `leave_type_id` string — The identifier for the type of leave
    - `leave_type_name` string — The name of the leave type
    - `approved` boolean — Indicates whether the leave has been approved
    - `employee_full_name` string — The full name of the employee taking the leave
    - `start_time` string — The start time of the leave
    - `hours_amount_in_cents` integer — The total number of hours taken for the leave, represented in cents
    - `updated_at` string, required — The updated at date of the leave
    - `created_at` string — The created at date of the leave
    - `deleted_at` string — The date when the leave was deleted
    - `duration_attributes` string — The duration attributes of the leave
    - `days_taken` number, required — Number of days taken for paid leave
  - `meta` PagedIndexMeta
    - `start_cursor` string
    - `end_cursor` string
    - `has_previous_page` boolean, required
    - `has_next_page` boolean, required
    - `limit` integer, required
    - `total` integer, required

---

[API](https://skmtc.net/factorialhr/apis/factorial-api.md) · [All operations](https://skmtc.net/factorialhr/apis/factorial-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factorialhr/factorial-api/revisions/1a6bffb20f7d/schema)
