cURL
curl --request GET \ --url https://api.orion.file.ai/prod/v1/files/{fileId}/ocr \ --header 'x-api-key: <api-key>'
{ "ocr": [ { "page_number": 1, "text": "OCR Result page 1 example" }, { "page_number": 2, "text": "OCR Result page 2 example" } ] }
Get file ocr (Optical Character Recognition).
The fileId field is used to specify the file ocr that should be retrieved.
fileId
API key for authentication
The file ocr is found
The response is of type object.
object