Parse Result
Get the results of a parse job.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique ID of the parse job
Query Parameters
The desired output format(s) of the parsed file. Must be markdown-document
, markdown-per-page
, and/or blocks-per-page
. markdown-document
parses the whole document into a single concatenated markdown output. markdown-per-page
provides markdown output per page. blocks-per-page
provides a structured JSON representation of the content blocks on each page, sorted by reading order. Specify multiple values to get multiple formats in the response.
The format of the output to be returned by the /parse endpoint.
markdown-document
, markdown-per-page
, blocks-per-page
Response
/parse results reponse object.
The current status of the parse job
pending
, processing
, retrying
, completed
, failed
, cancelled
Per-page parse results, containing per-page Markdown (if markdown-per-page
was requested) and/or per-page ParsedBlock
s (if blocks-per-page
was requested).
Per-page parse results.
The parsed, structured Markdown of the input file. Only present if markdown-document
was among the requested output types.
Was this page helpful?