Skip to main content

Interface: GatewayRealtimeEvent

Defined in: src/models/ai-gateway-realtime.ts:15

Provider event envelope. Event-specific payloads are finite JSON, not a promise of provider support.

Example​

`const event: GatewayRealtimeEvent = { type: 'session.update', session: { instructions: 'Hello' } };`

Extends​

Indexable​

[key: string]: GatewayJsonValue

Properties​

type​

type: string;

Defined in: src/models/ai-gateway-realtime.ts:16