Docs menu · Reference

Lists a graph’s nodes in node-id order. Accepts an optional id prefix filter, an item limit (default 100), an exclusive cursor, and as_of for time travel. Each item carries the full node payload: properties, declared type, binding, and commit coordinates.

Paginated responses use opaque cursors. Clients should pass the returned cursor back to the same command shape and must not parse cursor contents.

Examples

List node ids in a graph, in id order.

CLI

$ strata graph create social
$ strata graph add-node social alice
$ strata graph add-node social bob
$ strata graph list-nodes social

Wire

{"graph":"social","type":"graph_create"}
{"graph":"social","node_id":"alice","type":"graph_add_node"}
{"graph":"social","node_id":"bob","type":"graph_add_node"}
{"graph":"social","type":"graph_list_nodes"}

Parameters

NameTypeRequiredDescription
as_ofintegernoOptional timestamp in microseconds. Reads the graph state visible at that instant.
cursorstringnoOptional exclusive node id cursor.
graphstringyesGraph name.
limitintegernoOptional item limit. Defaults to 100.
prefixstringnoOptional node id prefix.

Plus the optional scope: branch and space (default to the session branch and the "default" space).

Returns

Page<GraphNodeDataOutput, String>.

Errors

Invocation

  • CLI: strata graph list-nodes
  • Wire type: graph_list_nodes

agents: this page as markdown → /docs/reference/graph/node/list.md