v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-1340148239.5 KB
/parse

Parse Result

Get the results of a parse job.

Parse job results are retained for up to 30 days after job creation. Fetching results for a parse job that is older than 30 days will return a 404 error.

get/parse/jobs/{job_id}/results

Path parameters

job_idstring uuid required

Unique ID of the parse job

Unique ID of the parse job

Query parameters

output_typesParseOutputFormat[]

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 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.

Response

Successful Response

file_namestring required

The name of the file that was uploaded for parsing

status'pending' | 'processing' | 'retrying' | 'completed' | 'failed' | 'cancelled' required
markdown_documentstring

The parsed, structured Markdown of the input file. Only present if markdown-document was among the requested output types.