Skip to main content
GET
/
v1
/
documents
/
{id}
/
full.md
curl https://api.okrapdf.com/v1/documents/doc-abc123/full.md \
  -H "Authorization: Bearer okra_YOUR_KEY"

Overview

Returns the full extracted document content as a single markdown string. Does not require authentication for public documents.

Request

id
string
required
Document ID (e.g. doc-abc123) or 6-char short hash.
curl https://api.okrapdf.com/v1/documents/doc-abc123/full.md \
  -H "Authorization: Bearer okra_YOUR_KEY"

Response (200)

Returns text/markdown content type with the full document as markdown text.
# Annual Report 2024

## Executive Summary

Revenue grew 15% year-over-year...