Skip to main content
GET
Downloads the original file that was uploaded for a specific extraction. This endpoint returns the raw file data with the appropriate content type.

Usage Notes

  • This endpoint returns the raw file data, not a JSON response
  • The content type will match the original file type (e.g., application/pdf for PDFs)

Request

string
required
The ID of the extraction to download the original file for.

Response

The response is the raw file data with the appropriate Content-Type header. The Content-Disposition header will include the original filename. For example, if the original file was a PDF named “invoice.pdf”, the response headers might look like:

Error Responses

string
Error message describing what went wrong.