Skip to navigation

Get Download URL

View as Markdown

Returns a presigned link to the output file of a finished Parse or Extract job. Download it with the returned method and url before expires_at; the link needs no API key.

  • Parse: a ZIP with the primary file (HTML, Markdown or JSON) and a manifest, plus per-page metadata for HTML and Markdown output.
  • Extract: the CSV or XLSX file, or, for JSON output, a ZIP with extraction.json and per-page files.

Split and Classify jobs have no download file: this endpoint returns 404 for them, so use GET /doc-ai/v1/job/{job_id}/results. Requesting a download URL before the job reaches a terminal status returns 409.

Authentication

api-subscription-keystring
API Key authentication via header

Path parameters

job_idstringRequired
The unique identifier of the job

Response

OK
methodstring

HTTP method to use for the download (e.g. GET).

urlstring
Presigned URL to download the job output from.
expires_atstring
Timestamp after which the download URL is no longer valid.
headersmap from strings to stringsOptional
Headers that must be sent with the download request.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error