Docs menu · Reference

Lists events from the selected branch and space in sequence order. An optional event type narrows the results, the sequence cursor continues a previous page, and the optional timestamp reads the log visible at that commit time.

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 events in sequence order.

CLI

$ strata event append user.created {"id":1}
$ strata event append user.updated {"id":2}
$ strata event list

Wire

{"event_type":"user.created","payload":{"id":1},"type":"event_append"}
{"event_type":"user.updated","payload":{"id":2},"type":"event_append"}
{"type":"event_list"}

Parameters

NameTypeRequiredDescription
after_sequenceintegernoOptional exclusive sequence cursor.
as_ofintegernoOptional timestamp in microseconds.
event_typestringnoOptional event type filter.
limitintegernoOptional item limit.

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

Returns

Page<EventVersionedData, u64>.

Errors

Invocation

  • CLI: strata event list
  • Wire type: event_list

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