← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/typescript/models/OcrDocumentRequest.md

768 Bytes · Oct 2, 2026 · 00:24 UTC

↓ Download file

<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->

# OcrDocumentRequest

Request body for OCR document processing.

- `content` (`string | null`, required): Base64-encoded document bytes
- `format` (`OcrInputFormat | null`, optional): Input format hint (AUTO, PDF, TIFF, PNG, JPEG, BMP)
- `includeRawJson` (`boolean | null`, optional): Include raw OCR JSON payload in the response
- `includeMarkdown` (`boolean | null`, optional): Include markdown rendering in the response
- `startPage` (`number | null`, optional): 0-based inclusive start page
- `endPage` (`number | null`, optional): 0-based inclusive end page

[TypeScript](../../typescript.md)

Related types — open only those used by your request:

- [OcrInputFormat](OcrInputFormat.md)

SHA-256: 68d661091b8888a45673a1303d62d3766afb5b9af11c0ecebc1afb0afe189a51