Docs menu · Reference

Lists the distinct event types visible in the selected branch and space in sorted order. The optional timestamp lists the types 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 the distinct event types seen in the log.

CLI

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

Wire

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

Parameters

NameTypeRequiredDescription
as_ofintegernoOptional timestamp in microseconds.

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

Returns

Page<String, String>.

Errors

Invocation

  • CLI: strata event types
  • Wire type: event_list_types

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