Skip to main content
GET
/
ocr
/
v1
/
{id}
/
download
/
{type}
curl -X GET "https://api.case.dev/ocr/v1/%3Cstring%3E/download/text" \ -H "Authorization: Bearer $CASEDEV_API_KEY"
"<string>"

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.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

OCR job ID returned from the initial OCR request

type
enum<string>
required

Format to download: text (plain text), json (structured data with coordinates), pdf (searchable PDF with text layer), original (original uploaded document)

Available options:
text,
json,
pdf,
original

Response

OCR result file download

The response is of type file.