curl https://api.okrapdf.com/v1/documents/doc-abc123/pages/1/markdown \
-H "Authorization: Bearer okra_YOUR_KEY"
Content
Get Page Markdown
Retrieve a single page as raw markdown text.
GET
/
v1
/
documents
/
{id}
/
pages
/
{page_number}
/
markdown
curl https://api.okrapdf.com/v1/documents/doc-abc123/pages/1/markdown \
-H "Authorization: Bearer okra_YOUR_KEY"
Overview
Returns the extracted content for a specific page as raw markdown. Does not require authentication for public documents.Request
string
required
Document ID (e.g.
doc-abc123) or 6-char short hash.integer
required
1-based page number.
curl https://api.okrapdf.com/v1/documents/doc-abc123/pages/1/markdown \
-H "Authorization: Bearer okra_YOUR_KEY"
Response (200)
Returnstext/markdown content type with the page content as markdown.
# Annual Report
This document summarizes the fiscal year...