curl https://api.okrapdf.com/v1/documents/doc-abc123/config \
-H "Authorization: Bearer okra_YOUR_KEY"
Documents
Get Document Config
Retrieve the workflow configuration for a document.
GET
/
v1
/
documents
/
{id}
/
config
curl https://api.okrapdf.com/v1/documents/doc-abc123/config \
-H "Authorization: Bearer okra_YOUR_KEY"
Overview
Returns the current workflow configuration for a document, including processing strategy and capability flags.Request
string
required
Document ID (e.g.
doc-abc123) or 6-char short hash.curl https://api.okrapdf.com/v1/documents/doc-abc123/config \
-H "Authorization: Bearer okra_YOUR_KEY"
Response (200)
{
"strategy": "auto",
"page_images": "eager",
"capabilities": {}
}