---
title: "Retrieve Predictions"
method: GET
path: "/records/smart-import"
tags: ["Records"]
---

# Retrieve Predictions

`GET /records/smart-import`

Retrieve status of predictions of specific smart import record or all records in an import, one of Record Id or Import Id is required. 

**OAuth Scope required:** `public.records.readSmartImportRecords`

## Query parameters

- `recordId` string
- `importId` string

## Headers

- `x-as-user-email` string
- `x-as-user-id` string

## Response `200`

200

- union
  - SmartImportRetrievePredictionsResponseElement
    - `recordId` string, required — The record ID for the imported record
    - `status` 'ready' | 'pending' | 'errored', required — The status of the record's predictions
  - SmartImportRetrievePredictionsResponseElement[] — If `importId` was provided, the response will be an array of objects.
    - `recordId` string, required — The record ID for the imported record
    - `status` 'ready' | 'pending' | 'errored', required — The status of the record's predictions

## Other responses

- `400` — 400
- `403` — 403
- `404` — 404

---

[API](https://skmtc.net/ironcladapp/apis/ironclad-public-api.md) · [All operations](https://skmtc.net/ironcladapp/apis/ironclad-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ironcladapp/ironclad-public-api/versions/9459b4cfc1e0/schema)
