Documents
Upload PDF (Binary)
Stream a raw PDF binary in the request body.
POST
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
Upload a PDF by streaming the raw binary in the request body. SetContent-Type: application/pdf. Useful for programmatic uploads where you already have the file bytes.
Request
Document ID (e.g.
doc-abc123) or 6-char short hash.Page image rendering strategy:
eager (default, render all pages), cover (page 1 only), or none. lazy is accepted as a deprecated alias for eager.Original filename hint (used in UI and exports).