Skip to main content

Read Charts of Selected Documents

Page through PDF documents, check whether reading charts is offered, preview what a selection would read and cost, and read it, via /v1/chart-to-data.

Reading the charts of selected documents costs credits. Preview a selection with GET /v1/chart-to-data/read-charts/preview first: it says what would be read and the most it would cost, and admits nothing. POST /v1/chart-to-data/read-charts then reads it, one outcome per document. The read needs apps:chart-to-data:write and the upload permission.

Endpoints

GET/v1/chart-to-data/pdfs/page

Parameters

limitintegerHow many.
offsetintegerHow many to skip.
GET/v1/chart-to-data/read-charts
POST/v1/chart-to-data/read-charts

Body

document_ids*arrayThe documents.