---
title: "GET /predictions"
method: GET
path: "/predictions"
---

# GET /predictions

`GET /predictions`

## Query parameters

- `nextToken` string
- `maxResults` string

## Response `200`

200 response

- Predictions
  - `nextToken` string, nullable, required
  - `predictions` object[], required
    - `documentId` string, required
    - `inferenceTime` number, required
    - `modelId` string, required
    - `predictionId` string, required
    - `predictions` object[], required
      - `confidence` number, required
      - `label` string, required
      - `value` string, nullable, required
    - `timestamp` integer, required
    - `trainingId` string, nullable

## Other responses

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

## Changes

- **2022-03-31** `13bf8cf663ba` — 1 breaking, 1 info
  - the `predictions/items/predictions/items/value` response property's maxLength was increased from `64` to `512` for the response status `200`
  - added the optional property `predictions/items/trainingId` to the response with the `200` status
- **2022-03-16** `fc6ba1d5e844` — 1 info
  - the `predictions/items/predictions/items/label` response's property pattern was changed from `^[0-9A-Za-z_]+$` to `^[0-9A-Za-z-_]+$` for the status `200`
- **2021-11-05** `9788e6bfa925` — 14 warning, 4 info
  - deleted the `query` request parameter `modelId`
  - deleted the `query` request parameter `order`
  - deleted the `query` request parameter `sortBy`
  - removed the optional property `modelId` from the response with the `200` status
  - …14 more

[Change history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/predictions/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/13bf8cf663ba/schema)
