Skip to main content

Type Alias: GenericDomainEvent

type GenericDomainEvent: components["schemas"]["GenericDomainEvent"];

Properties

PropertyTypeRequiredDescription
idstringYesUnique ID for this specific event occurrence (UUIDv4)
tenantIdstringYesTenant this event belongs to
projectIdstringNoProject/app ID for project-scoped events
resourceIdstringYesComposite resource identifier in resource:id format (example: "session:abc-123")
timestampstringYesISO 8601 timestamp of when the event occurred
type"participant.joined" | "participant.left" | "bot.status.changed" | "image.created" | "image.updated" | "image.ready" | "config.created" | "config.updated" | "config.ready" | "deployment.created" | "deployment.updated" | "server.created" | "server.updated" | "server.stopped" | "server.started" | "server.running"YesEvent type for externally-ingested / non-Cortex-native events
source"cortex:api" | "cortex:bot" | "cortex:plugin" | "voice:server" | "voice:gateway" | "fleet:api" | "fleet:server"YesOrigin service
payloadGenericEventPayloadYes

Fallback envelope for externally-ingested events (Fleet, voice presence, bot status).

Defined in

4Players/cortex-typescript-sdk/src/realtime/events.ts:73