Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Client Secrets

Create client secret
realtime.client_secrets.create(ClientSecretCreateParams**kwargs) -> ClientSecretCreateResponse
POST/realtime/client_secrets
ModelsExpand Collapse
class ClientSecretCreateResponse:

Response from creating a session and client secret for the Realtime API.

class RealtimeSessionCreateResponse:

A Realtime session configuration object.

class RealtimeTranscriptionSessionCreateResponse:

A Realtime transcription session configuration object.

class RealtimeTranscriptionSessionTurnDetection:

Configuration for turn detection. Can be set to null to turn off. Server VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech. For gpt-realtime-whisper, this must be null; VAD is not supported.