---
title: "Reads all Training classes"
method: GET
path: "/api/2026-10-01/resources/trainings/training_classes"
tags: ["Trainings > TrainingClass"]
---

# Reads all Training classes

`GET /api/2026-10-01/resources/trainings/training_classes`

## Request

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

Reads all Training classes

## Query parameters

- `ids[]` string[]: Filter those training classes whose id match with the given.
- `id` string: Get a specific training class.
- `training_id` string: Get training classes for the specified training.
- `search` string: This field is used to search in the training class name.
- `start_date[]` string[]: Field those classes that start on the given date.
- `end_date[]` string[]: Filter those classes that end on the given date.

## Response `200`

OK

- object
  - `data` TrainingsTrainingClass[]
    - `id` string, required: Identifier of the training to which the class belongs to
    - `training_id` string, required: Identifier of the course
    - `name` string, required: Class name
    - `description` string: Class description
    - `start_date` string: Traning class start date
    - `end_date` string: Traning class end date
    - `cost` string, required: Training-related expenses, such as instructor fees, materials, venue, and logistics.
    - `indirect_cost` string, required: General business expenses related to training, such as utilities and administrative fees.
    - `salary_cost` string, required: Cost of all employees' time spent on the course.
    - `subsidized_cost` string, required: Amount of training expenses covered by financial aid or grants for this group.
    - `gross_cost` string, required: Total cost before subsidies, calculated as the sum of cost, indirect_cost, and salary_cost.
    - `net_cost` string, required: Final cost after subsidies, calculated as gross_cost minus subsidized_cost.
    - `completed_attendances_count` integer, required: Number of completed session attendances in this group.
    - `total_attendances_count` integer, required: Total number of session attendances expected in this group.
    - `payment_status` 'paid' | 'pending': Payment status of the cost of training class.
    - `currency` string, required: Currency of the training class
    - `created_at` string, required: Date and time when the training class was created
  - `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/trainings/training_classes/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)
