Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Retrieve table structure and dimensions by locator.- Operation ID:
tables.get - API member path:
editor.doc.tables.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a TablesGetOutput with the table row count, column count, and structural metadata.Input fields
Variant 1
No fields.Variant 2
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | BlockNodeAddress | yes | BlockNodeAddress |
address.kind | "block" | yes | Constant: "block" |
address.nodeId | string | yes | |
address.nodeType | enum | yes | "paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt" |
columns | integer | yes | |
nodeId | string | yes | |
rows | integer | yes |
Example response
Pre-apply throws
TARGET_NOT_FOUND
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

