Chart Extraction

Store prepared inputs for one PDF page

Changed on

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.

post/v1/chart-to-data/inputs

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

ChartToDataStoreInputsRequest required
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

The stored inputs version.

ChartToDataStoredInputs required
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

Changes