Skip to Content

Retrieve an OCR request

Returns the state of an OCR request: running with the pages that are done, then completed with the full result (including document_annotation when requested), or failed, cancelled or timed_out.

GET
/ocr/{request_id}

Authorization

headerAuthorizationBearer <token>

Your Munito API key.

Path Parameters

request_id*string

The request id from the location of the 202 answer.

Response Body

The request state, and the result when it is completed.

application/json
curl -X GET 'https://api.munito.ai/inference/v1/ocr/string'
Example Response
{
  "request_id": "5f0c2b8e-3a4d-4c61-9f27-0b8d1e6a7c42",
  "status": "running",
  "total": 12,
  "completed": 5,
  "pages": []
}