---
title: "Reads all Worked times"
method: GET
path: "/api/2026-10-01/resources/attendance/worked_times"
tags: ["Attendance > WorkedTime"]
---

# Reads all Worked times

`GET /api/2026-10-01/resources/attendance/worked_times`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/attendance/worked_times`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `time_tracking`
  - API key in header `x-api-key`

Reads all Worked times

## Query parameters

- `ids[]` string[]: Composite worked time id combining the employee_id and date, formatted as <employee_id>_<YYYY-MM-DD>.
- `start_on` string: Start of the date range to fetch worked times for (inclusive). Required together with end_on.
- `end_on` string: End of the date range to fetch worked times for (inclusive). Required together with start_on.
- `employee_ids[]` string[]: Employee IDs to filter the date-range query by. When omitted, all attendable employees are returned.
- `include_time_range_category` boolean, required: Whether to include the time range category on each worked time block.
- `include_non_attendable_employees` boolean, required: Whether to include employees excluded from attendance (attendable=false) in the result. Forced to true when filtering by a single employee, so their historical worked time is returned even if they are no longer attendable.

## Response `200`

OK

- object
  - `data` AttendanceWorkedTime[]
    - `employee_id` string, required
    - `date` string, required
    - `company_id` string, required
    - `tracked_minutes` integer, required
    - `multiplied_minutes` integer, required
    - `pending_minutes` integer, required
    - `minutes` integer, required
    - `time_unit` 'minute' | 'half_day' | 'none', required
    - `worked_time_blocks` object[], required
      - `minutes` integer, required
      - `time_type` 'regular' | 'overtime' | 'any_time', required
      - `extra_hour` boolean, required
      - `complementary_hour` boolean, required
      - `raw_minutes_in_cents` integer, required
      - `equivalent_minutes_in_cents` integer, required
      - `pool_type` 'balance' | 'timeoff' | 'virtual_timeoff' | 'payroll' | 'virtual_payroll' | 'discarded' | 'buffer' | 'complementary_buffer', required
      - `date` string, required
      - `approved` boolean, required
      - `workable` boolean, required
      - `in_schedule` boolean, required
      - `time_range_category_id` string
      - `employee_id` string, required
      - `time_settings_break_configuration_id` string
      - `time_range_category_name` string
    - `day_type` 'saturday' | 'sunday' | 'bank_holiday' | 'workday', required
    - `id` string, required: ID to specify the worked time it includes the employee_id and date
  - `meta` PagedIndexMeta
    - `start_cursor` string
    - `end_cursor` string
    - `has_previous_page` boolean, required
    - `has_next_page` boolean, required
    - `limit` integer, required
    - `total` integer, required

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/attendance/worked_times/get.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
