Defined in: realtime/types.ts
Token returned by the server for client authentication. Contains the ephemeral credentials, expiration time, and session configuration for a realtime connection.
provider: string;
Provider identifier (e.g., 'openai', 'elevenlabs').
token: string;
The ephemeral token value. For OpenAI, this is a client secret. For ElevenLabs, this is a signed URL.
expiresAt: number;
Token expiration timestamp in milliseconds since epoch.
config: RealtimeSessionConfig;
Session configuration embedded in the token (model, voice, instructions, etc.).