Skip to main content
GET
/
document
/
{documentId}
/
status
cURL
curl https://api.okrapdf.com/document/my-doc/status \
  -H "Authorization: Bearer okra_YOUR_KEY"
{
  "documentId": "<string>",
  "phase": "idle",
  "fileName": "<string>",
  "totalPages": 123,
  "totalNodes": 123,
  "pdfSha256": "<string>",
  "exportVersion": "<string>"
}

Authorizations

Authorization
string
header
required

API key as Bearer token: Authorization: Bearer okra_xxx

Path Parameters

documentId
string
required

Document ID

Response

Document status

documentId
string
phase
enum<string>
Available options:
idle,
uploading,
parsing,
hydrating,
verifying,
awaiting_review,
complete,
error
fileName
string | null
totalPages
integer | null
totalNodes
integer
pdfSha256
string | null
exportVersion
string | null