Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Retrieve a specific list node by target.- Operation ID:
lists.get - API member path:
editor.doc.lists.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a ListItemInfo object with the item kind, level, marker, and address.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
address | ListItemAddress | yes | ListItemAddress |
address.kind | "block" | yes | Constant: "block" |
address.nodeId | string | yes | |
address.nodeType | "listItem" | yes | Constant: "listItem" |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
address | ListItemAddress | yes | ListItemAddress |
address.kind | "block" | yes | Constant: "block" |
address.nodeId | string | yes | |
address.nodeType | "listItem" | yes | Constant: "listItem" |
kind | enum | no | "ordered", "bullet" |
level | integer | no | |
listId | string | yes | |
marker | string | no | |
ordinal | integer | no | |
path | integer[] | no | |
text | string | no |
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

