Documentation Index
Fetch the complete documentation index at: https://docs.tableflow.com/llms.txt
Use this file to discover all available pages before exploring further.
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
The ID of the extraction to download the original file for.
curl -X GET https://api.tableflow.com/v2/extractions/uT2bJNWN75YPU95r/download-original \
-H "Authorization: Bearer YOUR_API_KEY" \
--output original-file.pdf
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:
Content-Type: application/pdf
Content-Disposition: attachment; filename="invoice.pdf"
Error Responses
Error message describing what went wrong.
{
"error": "No extraction ID provided"
}