Jobs

Download retained job source bytes

GET
/jobs/{id}/source

Stream the retained source document for a parse or single-document extract job. Jobs without retained source bytes return 404 source_not_available. Check has_source on GET /jobs/{id} before calling. Playground tokens (ocr:playground) and ocr:full keys are both accepted, matching other job read routes. Optional Range requests may return 206 partial content or 416 when the range is unsatisfiable.

Authorization

bearerAuth
AuthorizationBearer <token>

Existing Eigenpal API key presented as a bearer token.

In: header

Path Parameters

id*string

Durable OCR job identifier (opj_…).

Match^opj_[A-Za-z0-9_-]+$
Lengthlength <= 128

Response Body

application/octet-stream

application/octet-stream

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/jobs/opj_V1StGXR8_Z5jdHi6B-myT/source" \  -H "Authorization: Bearer $OPENPARSER_API_KEY"
"string"
"string"
{  "error": {    "code": "unauthorized",    "message": "invalid API key",    "request_id": "req_01h2example",    "retryable": false  }}
{  "error": {    "code": "forbidden",    "message": "API key lacks required scope",    "request_id": "req_01h2example",    "retryable": false  }}

{  "error": {    "code": "job_not_found",    "message": "job not found",    "request_id": "req_01h2example",    "retryable": false  }}

Empty

{  "error": {    "code": "rate_limited",    "message": "request rate limit exceeded",    "request_id": "req_01h2example",    "retryable": true  }}