> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moss.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ParseOptions

[moss](../api) / ParseOptions

# Interface: ParseOptions

Controls how the server extracts text from uploaded documents. Every field is optional;
omitted fields use the server defaults.

## Properties

* **ocr\_mode**: `Optional[str]` - `"auto_ocr"` or `"full_ocr"`; `"full_ocr"` forces OCR on every page, which is what scanned documents with no text layer need
* **use\_high\_resolution**: `Optional[bool]` - slower, higher fidelity extraction; useful for dense tables
* **segmentation\_method**: `Optional[str]` - `"smart_layout_detection"` or `"page_by_page"`
* **merge\_tables**: `Optional[bool]` - merge a table split across a page break into a single segment
