event

append

Append one event to the branch event log.

strata event append

wire event_append

Appends one event to the selected branch and space. Strata assigns the next sequence number, stamps the event with its append timestamp, and links it into the tamper-evident hash chain. Events are immutable once appended.

Successful mutations return an acknowledgement of the outcome: for a state-changing write, the affected target with the mutation effect and commit facts; for mutations that produce a domain result (such as a branch or a promotion outcome), that result object.

To see the complete help for this command, run:

strata event append --help

Example

Append an event to the log.

strata event append user.created {"id":1}strata event count

Parameters

NameTypeRequiredDescription
event_typestringyesEvent type.
payloadanyyesEvent payload.
branchstring or nullnoTarget branch. Defaults to the executor handle branch.
spacestring or nullnoTarget product space. Defaults to `"default"`.

Returns

MutationAck<EventAppend>

  • dataobject
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 10 Events commands

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