Skip to main content

Event reference

Canonical guide with examples: Event-Driven Triggers.

Naming

  • Required form: namespace.entity.action (must contain .)
  • Segments: a-zA-Z0-9_-, non-empty, max name length 256
  • Examples: shopify.cart.abandoned, schedule.nightly_reconciliation, system.flow.completed

Envelope fields

FieldRequiredDescription
nameyesNamespaced event name
sourcenoProducer label
payloadnoJSON object
versionnoDefault 1.0
correlation_idnoBusiness process correlation
causation_idnoParent event id
idempotency_keynoTenant-unique dedupe
sequence_key + sequence_nnoFIFO stream (both required)
expires_at / ttl_secondsnoExpiration
depthnoLoop protection hop count (default max 8)
delay_secondsnoDelay before claim

Statuses

received, validated, queued, running, completed, failed, retry, dead_letter, expired

HTTP APIs

MethodPath
GET/api/v1/org/events
POST/api/v1/org/events
GET/api/v1/org/events/:id
POST/api/v1/org/events/:id/retry
POST/api/v1/org/events/:id/replay
POST/api/v1/org/events/replay
POST/api/v1/org/events/ingest/:tenant_id

Also listed under REST APIs.