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

# Upload PDF (Multipart)

> Upload a PDF file using multipart form data.

## Overview

Upload a PDF file directly using `multipart/form-data`. The document is assigned an ID and queued for processing.

## Request

**page\_images** `string`

Page image rendering strategy: `eager` (default, render all pages), `cover` (page 1 only), or `none`. `lazy` is accepted as a deprecated alias for `eager`.

**strategy** `string`

Processing strategy hint.

**file** `file` *required*

The PDF file to upload.

**capabilities** `string`

Comma-separated capability flags.

```bash theme={null}
curl -X POST https://api.okrapdf.com/v1/documents \
  -H "Authorization: Bearer okra_YOUR_KEY" \
  -F "file=@report.pdf" \
  -F "capabilities=vlm_qwen"
```

### Response (202)

```json theme={null}
{
  "id": "doc-abc123",
  "status": "queued"
}
```


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