Skip to main content
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

id
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": "cover",
  "capabilities": {}
}