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"

Documentation Index

Fetch the complete documentation index at: https://docs.okrapdf.com/llms.txt

Use this file to discover all available pages before exploring further.

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