Alpha: Document API is currently alpha and subject to breaking changes.
Summary
List all list nodes in the document, optionally filtered by scope.- Operation ID:
lists.list - API member path:
editor.doc.lists.list(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a ListsListResult with an array of list item summaries and total count.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
kind | enum | no | "ordered", "bullet" |
level | integer | no | |
limit | integer | no | |
offset | integer | no | |
ordinal | integer | no | |
within | BlockNodeAddress | no | BlockNodeAddress |
within.kind | "block" | no | Constant: "block" |
within.nodeId | string | no | |
within.nodeType | enum | no | "paragraph", "heading", "listItem", "table", "tableRow", "tableCell", "tableOfContents", "image", "sdt" |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
evaluatedRevision | string | yes | |
items | object[] | yes | |
page | PageInfo | yes | PageInfo |
page.limit | integer | yes | |
page.offset | integer | yes | |
page.returned | integer | yes | |
total | integer | yes |
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

