Summary
Extract all document content with stable IDs for RAG pipelines. Returns blocks with full text, comments, and tracked changes — each with an ID compatible with scrollToElement().- Operation ID:
extract - API member path:
editor.doc.extract(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns an ExtractResult with blocks (nodeId, type, text, headingLevel), comments (entityId, text, anchoredText, blockId, status, author), tracked changes (entityId, type, excerpt, author, date), and revision.Input fields
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
blocks | object[] | yes | |
comments | object[] | yes | |
revision | string | yes | |
trackedChanges | object[] | yes |
Example response
Pre-apply throws
- None
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

