---
title: "Store prepared inputs for one PDF page"
method: POST
path: "/v1/chart-to-data/inputs"
tags: ["Chart Extraction"]
---

# Store prepared inputs for one PDF page

`POST /v1/chart-to-data/inputs`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/chart-to-data/inputs`
- Auth: HTTP bearer

Stores the next version of the inputs for a (file, page): the request document with the page's charts and frames, and the prepared inputs (delivery metadata, curve expectations, printed ticks, companion scales). Inputs are append-only and bound to the file by its SHA-256, not by document id, so the same PDF in two documents shares them. Printed-tick evidence the engine cannot use for a requested chart is refused with 400 and the engine's code in `details.engine_code`. Requires a person at or above member behind the key.

## Request body

- ChartToDataStoreInputsRequest
  - `source_sha256` string, required: SHA-256 of the PDF as lowercase hex; must equal `parameters.source.sha256`.
  - `page_number` integer, required: Must equal `parameters.selected_page.page_number`.
  - `parameters` object, required: The request document: `source` and `selected_page` with its charts and frames.
  - `prepared` object, required: Prepared inputs: `deliveryMetadata` (required object), `curveExpectations`, `printedTicks`, `companionScales`, and the raw evidence files as text.

## Response `201`

The stored inputs version.

- ChartToDataStoredInputs
  - `id` string, uuid
  - `source_sha256` string
  - `page_number` integer
  - `version` integer: Grows by one per store for the same file page.
  - `created_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `403`: The API key does not have the required scope.
- `422`: `parameters.source.sha256` or `parameters.selected_page.page_number` differs from the request, or `prepared.deliveryMetadata` is not an object.

## Changes

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

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/chart-to-data/inputs/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)
