---
title: "GET /models/{modelId}/trainings"
method: GET
path: "/models/{modelId}/trainings"
---

# GET /models/{modelId}/trainings

`GET /models/{modelId}/trainings`

## Path parameters

- `modelId` string, required

## Query parameters

- `status` string
- `nextToken` string
- `maxResults` string

## Response `200`

200 response

- Trainings
  - `nextToken` string, nullable, required
  - `status` string[]
  - `trainings` object[], required
    - `createdBy` string, nullable, required
    - `createdTime` string, nullable, required
    - `dataBundleIds` string[], required
    - `dataScientistAssistance` boolean
    - `deploymentEnvironmentId` string, nullable
    - `description` string, nullable, required
    - `evaluation` object, required
    - `gpuHours` number, required
    - `instanceType` 'small-gpu' | 'medium-gpu' | 'large-gpu', required
    - `metadata` object, required
    - `modelId` string, required
    - `name` string, nullable, required
    - `status` 'waiting-for-approval' | 'pending' | 'running' | 'succeeded' | 'failed' | 'cancelled', required
    - `trainingId` string, required
    - `updatedBy` string, nullable, required
    - `updatedTime` string, nullable, required

## Other responses

- `400` — 400 response
- `403` — 403 response
- `404` — 404 response
- `415` — 415 response
- `500` — 500 response

## Changes

- **2022-09-13** `b8d771f64c04` — 1 breaking, 2 info
  - the `trainings/items/gpuHours` response's property type changed from `integer` to `number` for status `200`
  - added the optional property `trainings/items/dataScientistAssistance` to the response with the `200` status
  - added the optional property `trainings/items/deploymentEnvironmentId` to the response with the `200` status
- **2022-06-24** `f08cd3a446f0` — 1 info
  - added the required property `trainings/items/evaluation` to the response with the `200` status
- **2022-03-16** `fc6ba1d5e844` — 1 info
  - added the required property `trainings/items/gpuHours` to the response with the `200` status
- **2022-02-04** `2261469a6890` — 1 info
  - added the required property `trainings/items/metadata` to the response with the `200` status
- **2021-12-10** `c3dbcad72582` — 6 warning, 6 info
  - added the new `cancelled` enum value to the `status/items/` response property for the response status `200`
  - added the new `cancelled` enum value to the `trainings/items/status` response property for the response status `200`
  - added the new `running` enum value to the `status/items/` response property for the response status `200`
  - added the new `running` enum value to the `trainings/items/status` response property for the response status `200`
  - …8 more

[Full history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/models/:modelId/trainings/get.md)

---

[API](https://skmtc.dev/lucidtechai/apis/lucidtech-api.md) · [All operations](https://skmtc.dev/lucidtechai/apis/lucidtech-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lucidtechai/lucidtech-api/revisions/aba5d02f5fa5/schema)
