Retrieve the status and results of an OCR job. Returns job progress, extracted text, and metadata when processing is complete.
curl --request GET \
--url https://api.case.dev/ocr/v1/{id} \
--header 'Authorization: Bearer <token>'{
"id": "ocr_abc123",
"status": "completed",
"page_count": 15,
"text": "EMPLOYMENT AGREEMENT\n\nThis Employment Agreement is entered into between...",
"metadata": {
"confidence": 0.95,
"language": "en"
},
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:32:15Z"
}API key starting with sk_case_
The OCR job ID returned from the create OCR endpoint
OCR job status and results
OCR job ID
Current job status
pending, processing, completed, failed Job creation timestamp
Number of pages processed
Extracted text content (when completed)
Additional processing metadata
Job completion timestamp
Was this page helpful?
curl --request GET \
--url https://api.case.dev/ocr/v1/{id} \
--header 'Authorization: Bearer <token>'{
"id": "ocr_abc123",
"status": "completed",
"page_count": 15,
"text": "EMPLOYMENT AGREEMENT\n\nThis Employment Agreement is entered into between...",
"metadata": {
"confidence": 0.95,
"language": "en"
},
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:32:15Z"
}