Chart Extraction

The process diagram on one page

Changed on

The process diagram read from one page of a PDF: its nodes, edges and lanes. The first request queues the read on a worker; poll until status is done or failed. A diagram already found by the file's scan is returned at once. clip reads a pipe diagram from one part of the page only.

get/v1/chart-to-data/pdfs/{documentId}/pages/{page}/diagram

Request

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

Path parameters

documentId, string uuid required
page, integer required

1-based page number.

Query parameters

clip, string

x0,y0,x1,y1 in PDF points (top-left origin): the part of the page a pipe diagram is read from.

Response

The read's state and, once done, the diagram.

object required
status, 'queued' | 'running' | 'done' | 'failed'
error_code, string nullable
error_message, string nullable
view, ChartToDataDiagramView nullable

Null until the read is done.

Changes