# JOB_ID is the id from the create response
curl https://api.mcpbytes.com/v1/jobs/$JOB_ID \
-H "Authorization: Bearer $MCPBYTES_API_KEY"
# Read the text, 20,000 bytes at a time
curl "https://api.mcpbytes.com/v1/jobs/$JOB_ID/files/text.txt?offset=0" \
-H "Authorization: Bearer $MCPBYTES_API_KEY"
{
"id": "j_7c2m9x4f1q8w3e6r5t0y2u7i9o",
"tool": "extract_pdf",
"status": "succeeded",
"result": {
"files": [
{
"name": "pages.json",
"bytes": 1842,
"sha256": "…",
"url": "https://api.mcpbytes.com/blob/dl/j_7c2m9x4f1q8w3e6r5t0y2u7i9o/pages.json?t=…"
},
{
"name": "text.txt",
"bytes": 48903,
"sha256": "…",
"url": "https://api.mcpbytes.com/blob/dl/j_7c2m9x4f1q8w3e6r5t0y2u7i9o/text.txt?t=…"
}
],
"pages": 12,
"first_page": 1,
"last_page": 12,
"empty_pages": 0,
"chars": 48211,
"notes": []
},
"compute_ms": 1310,
"credits_charged": 1,
"finished_at": "2026-09-19T12:00:03.000Z",
"outputs_expire_at": "2026-09-20T12:00:00.000Z"
}