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

**id** `string` *required*

Document ID (e.g. `doc-abc123`) or 6-char short hash.

**strategy** `string`

Processing strategy override.

**capabilities** `string`

Comma-separated capability flags.

```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"}'
```

### Response (202)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.