Get the parse results that are generated during ingestion for a given document. Retrieving parse results for existing documents ingested before the release of this endpoint is not supported and will return a 404 error.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Datastore ID of the datastore from which to retrieve the document
Document ID of the document to retrieve details for
The desired output format(s) of the parsed file. Must be markdown-document, markdown-per-page, and/or blocks-per-page. Specify multiple values to get multiple formats in the response. 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.
The format of the output to be returned by the /parse endpoint.
markdown-document, markdown-per-page, blocks-per-page Successful Response
/parse results reponse object.
The name of the file that was uploaded for parsing
The current status of the parse job
pending, processing, retrying, completed, failed, cancelled "completed"
Per-page parse results, containing per-page Markdown (if markdown-per-page was requested) and/or per-page ParsedBlocks (if blocks-per-page was requested).
The parsed, structured Markdown of the input file. Only present if markdown-document was among the requested output types.
Document-level metadata parsed from the document