---
title: "Queue documents to be read for terms"
method: POST
path: "/v1/contracts/import"
tags: ["Contracts"]
---

# Queue documents to be read for terms

`POST /v1/contracts/import`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/contracts/import`
- Auth: HTTP bearer

Queues documents for term extraction. A failed document is queued again; a document that is waiting or done is left alone unless `force` is true. `skipped` counts every id not queued, including ids that are not live documents of the workspace.

## Request body

- object
  - `document_ids` string[], required
  - `force` boolean: Read documents that were already read again (for example after a corrected OCR or an improvement to how Talonic reads contracts).

## Response `201`

How many documents were queued.

- ContractsQueueResult
  - `queued` integer
  - `skipped` integer

## Other responses

- `400`: The request is invalid.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/contracts/import/post.md)

---

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