---
title: "Get courses by collection"
method: GET
path: "/training/collections/v1/{courseCollectionId}/courses"
tags: ["Training"]
---

# Get courses by collection

`GET /training/collections/v1/{courseCollectionId}/courses`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/training/collections/v1/{courseCollectionId}/courses`
- Auth: HTTP bearer

Retrieves all courses in a collection.

## Path parameters

- `courseCollectionId` string, required

## Query parameters

- `pageSize` integer
- `page` integer
- `coursewareVersionType` integer
- `includeDraft` boolean

## Response `200`

A successful response.

- S12TrainingCollectionsV1GetCoursesByCourseCollectionIdResponse
  - `totalCount` integer: The total number of courses matching the request
  - `items` S12TrainingCollectionsV1Course[]: List of courses
    - `id` string: ID of the course
    - `externalId` string: External ID of the course
    - `title` string: Title of the course
    - `description` string: Description of the course
    - `status` string: Status of the course (published, draft)
    - `locale` string: Locale of the course
    - `isMandatory` boolean: Flag indicating if the course is mandatory
    - `dueBy` string: Due by type of the course (notSpecified, static, relative)
    - `duration` integer: Duration of the course in seconds
    - `thumbnailUrl` string: URL of the thumbnail image for the course
    - `createdDatetime` string, date-time: Date the course was created
    - `modifiedDatetime` string, date-time: Date the course was last modified
    - `translationOriginalCourse` S12TrainingCollectionsV1TranslationOriginalCourse
      - `id` string: ID of the original course
      - `externalId` string: External ID of the original course

## Other responses

- `default`: An unexpected error response.

---

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