API ReferenceEvent Referenceanalytics.outcome.recorded.v1

analytics.outcome.recorded.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.ANALYTICS_OUTCOME_RECORDED_V1;

Publishers

Subscribers

No service currently subscribes to this event.

Payload schema

z.object({
  entry_id: z.string(),
  outcome_id: z.string(),
  subject_id: z.string(),
  brand_id: z.string(),
  value: z.string(),
  recorded_at: z.string().datetime(),
}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.