Summary
Retrieve cell information for a table, optionally filtered by row or column.- Operation ID:
tables.getCells - API member path:
editor.doc.tables.getCells(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a TablesGetCellsOutput with cell information for the requested rows and columns.Input fields
Variant 1 (target.nodeType=“table”)
| Field | Type | Required | Description |
|---|---|---|---|
columnIndex | integer | no | |
rowIndex | integer | no | |
target | TableAddress | yes | TableAddress |
target.kind | "block" | yes | Constant: "block" |
target.nodeId | string | yes | |
target.nodeType | "table" | yes | Constant: "table" |
Variant 2 (required: nodeId)
| Field | Type | Required | Description |
|---|---|---|---|
columnIndex | integer | no | |
nodeId | string | yes | |
rowIndex | integer | no |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | TableAddress | yes | TableAddress |
address.kind | "block" | yes | Constant: "block" |
address.nodeId | string | yes | |
address.nodeType | "table" | yes | Constant: "table" |
cells | object[] | yes | |
nodeId | string | 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

