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

# Re-extract Document

> Trigger a fresh extraction run on an existing document.

## Overview

Triggers a fresh extraction run on an existing document, replacing previous results. Useful when you want to re-process with a different strategy or after engine improvements.

## Request

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

<ParamField body="strategy" type="string">
  Processing strategy override.
</ParamField>

<ParamField body="capabilities" type="string">
  Comma-separated capability flags.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X POST https://api.okrapdf.com/v1/documents/doc-abc123/reparse \
    -H "Authorization: Bearer okra_YOUR_KEY" \
    -H "Content-Type: application/json" \
    -d '{"strategy": "premium"}'
  ```
</RequestExample>

### Response (202)

```json theme={null}
{
  "id": "doc-abc123",
  "phase": "extracting"
}
```
