Documentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
curl https://api.case.dev/ocr/v1/JOB_ID \
-H "Authorization: Bearer sk_case_YOUR_API_KEY"
{
"id": "1f4a195e-026b-41ff-b367-c61089f5f367",
"status": "processing",
"page_count": 245,
"chunk_count": 50,
"chunks_completed": 23,
"chunks_processing": 15,
"created_at": "2025-11-04T09:30:12Z"
}
{
"id": "1f4a195e-026b-41ff-b367-c61089f5f367",
"status": "completed",
"page_count": 245,
"text": "Full extracted text from all 245 pages...",
"confidence": 0.96,
"processing_time_ms": 1091000,
"links": {
"text": "https://api.case.dev/ocr/v1/.../download/text",
"json": "https://api.case.dev/ocr/v1/.../download/json",
"pdf": "https://api.case.dev/ocr/v1/.../download/pdf"
}
}
Status values
| Status | Meaning |
|---|
pending | Queued, not started |
processing | OCR in progress |
completed | Done, results ready |
failed | Processing failed |
Polling example
casedev ocr:v1 retrieve --id $JOB_ID
Use webhooks for large documents. Set callback_url when submitting to avoid polling.