RealtimeSessionConnectOptions
type RealtimeSessionConnectOptions = object;
Properties
Section titled “Properties”apiKey
Section titled “apiKey”apiKey: string | () => string | Promise<string>;
The API key to use for the connection. Pass a function to lazily load the API key. Overrides default client options.
model?
Section titled “model?”optional model: | OpenAIRealtimeModels | string & object;
The model to use for the connection.
optional url: string;
The URL to use for the connection.