> ## 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.

# Get Document Config

> Retrieve the workflow configuration for a document.

## Overview

Returns the current workflow configuration for a document, including processing strategy and capability flags.

## Request

<ParamField path="id" type="string" required>
  Document ID (e.g. `doc-abc123`) or 6-char short hash.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl https://api.okrapdf.com/v1/documents/doc-abc123/config \
    -H "Authorization: Bearer okra_YOUR_KEY"
  ```
</RequestExample>

### Response (200)

```json theme={null}
{
  "strategy": "auto",
  "page_images": "eager",
  "capabilities": {}
}
```
