GET
/
v1.0.1
/
file
/
download
/
{job_id}
curl --request GET \
  --url https://api.readfile.io/v1.0.1/file/download/{job_id} \
  --header 'X-API-KEY: <api-key>'
"<string>"

Authorizations

X-API-KEY
string
header
required

Path Parameters

job_id
string
required

The ID of the processing job

Query Parameters

outputFormat
enum<string>
default:text
required

The format of the extraction you want to download. N.B. Only 'text' is supported for 'default' and 'vision' strategies.

Available options:
html,
text,
markdown,
chunks

Response

200
text/plain
Successfully retrieved the extracted text

A string response, for example if you select 'html', 'markdown', or 'text' as an 'outputFormat', the response will just be a string.