---
title: "Queue documents for model extraction"
method: POST
path: "/v1/price-baseline/import"
tags: ["Contract Pricing"]
---

# Queue documents for model extraction

`POST /v1/price-baseline/import`

## Request

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

Queues workspace documents; a scheduler extracts their price models in the background (poll `/import/status`). A failed entry is queued again; an entry that is pending, running or done is left as it is. Ids that are not documents of the workspace are counted in `skipped`.

## Request body

- object
  - `document_ids` string[], required

## Response `201`

How many documents were queued and how many left as they were.

- object
  - `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/price-baseline/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)
