List audit events
Returns a paginated, filtered audit log for the calling organization. Replaces the old per-entity state-transition feed: every domain event lands in audit_events, with state.transitioned as one event_type among many. Default page size is 25, max 100.
query Parameters
limitPage size (default 25, max 100)
cursorPagination cursor
entity_typeFilter by entity type (e.g. customer, invoice, subscription)
entity_idFilter by entity UUID
event_typeFilter by event type. Repeatable (?event_type=a&event_type=b) or comma-separated (?event_type=a,b).
actor_typeFilter by actor type: user | api_key | system | job | webhook | unknown
actor_user_idFilter by acting user id
occurred_afterFilter by occurred_at >= timestamp (RFC3339)
occurred_beforeFilter by occurred_at <= timestamp (RFC3339)
List audit events › Responses
Paginated list with data and pagination envelope
actor_emailactor_key_idactor_key_prefixactor_labelactor_nameactor_pictureactor_typeLegacy flat actor fields — duplicated from Actor so FE consumers
that still read actor_email / actor_type keep working through
Phase 1. Removed in Phase 5 once the renderer-registry rewrite
(Phase 2) migrates them onto the nested actor object.
actor_user_idcausation_idcorrelation_idCascade chain. correlation_id ties together every event in one top-level operation; causation_id points at the immediate parent. Both nil for legacy rows and standalone operations.
customer_iddiffdomainCatalog metadata. Denormed onto every response so the FE renderer registry doesn't have to ship a parallel descriptor table. When the EventType is unregistered (legacy / forward-compat) these are omitted and the FE falls back to a generic row.
entityentity_identity_typeSubject — the entity the event is "about", plus parent refs the recorder denormalised so the parent-scoped Audit tab surfaces it.
event_typeEventType is the canonical wire name (e.g. "subscription.phase.added").
idoccurred_atorganization_idpayloadplan_idproduct_idrequest_idseveritysubscription_idsummaryContent. Summary is the human one-liner shown verbatim in the table; Payload is event-type-specific JSON the per-event renderer parses; Diff is the typed change-set jsonb for mutation events.
trace_idverbvisibilityList customer audit events
Returns the customer-facing audit feed for one customer. Only rows whose payload was opted in via CustomerVisiblePayload are returned - internal columns (actor metadata, request/trace, raw internal payload) are stripped at the repository layer. Default page size is 25, max 100.
path Parameters
idCustomer UUID
query Parameters
limitPage size (default 25, max 100)
cursorPagination cursor
event_typeFilter by event type
occurred_afterFilter by occurred_at >= timestamp (RFC3339)
occurred_beforeFilter by occurred_at <= timestamp (RFC3339)
List customer audit events › Responses
Paginated list with data and pagination envelope
domainentityentity_identity_typeevent_typeidoccurred_atpayloadverb