Skip to main content

Module realtime

Module realtime 

Source

Modules§

translation

Structs§

AssistantMessageContentOutputAudio
AssistantMessageContentOutputText
Audio
AudioInput
AudioOutput
AudioTranscription
AudioTranscriptionResponse
Configuration of the transcription model returned by the server.
CachedTokenDetails
ClientSecretExpiration
Client secret expiration configuration.
Error
ErrorCodeMessage
ErrorMessage
G711ULAWAudioFormat
InputTokenDetails
LogProbPropertiesaudio-types or realtime-types
Log probability information for a transcribed token.
OutputTokenDetails
RealtimeAPIError
RealtimeCallAcceptRequest
Request to accept a Realtime call.
RealtimeCallCreateRequest
Request to create a Realtime call.
RealtimeCallCreateResponse
Response from creating a Realtime call.
RealtimeCallReferRequest
Request to refer a Realtime call.
RealtimeCallRejectRequest
Request to reject a Realtime call.
RealtimeClientEventConversationItemCreate
RealtimeClientEventConversationItemDelete
RealtimeClientEventConversationItemRetrieve
RealtimeClientEventConversationItemTruncate
RealtimeClientEventInputAudioBufferAppend
RealtimeClientEventInputAudioBufferClear
RealtimeClientEventInputAudioBufferCommit
RealtimeClientEventInputTextAppend
Append UTF-8 text to the current incremental input.
RealtimeClientEventInputTextClear
Discard the current incremental text without creating an item.
RealtimeClientEventInputTextCommit
Finalize the current incremental text as a user conversation item.
RealtimeClientEventOutputAudioBufferClear
RealtimeClientEventResponseCancel
RealtimeClientEventResponseCreate
RealtimeClientEventSessionUpdate
RealtimeConversationItemFunctionCall
RealtimeConversationItemFunctionCallOutput
RealtimeConversationItemMessageAssistant
RealtimeConversationItemMessageSystem
RealtimeConversationItemMessageUser
RealtimeCreateClientSecretRequest
Request to create a Realtime client secret.
RealtimeCreateClientSecretResponse
Response from creating a Realtime client secret.
RealtimeFunctionTool
RealtimeMCPApprovalRequest
RealtimeMCPApprovalResponse
RealtimeMCPListTools
RealtimeMCPProtocolError
RealtimeMCPToolCall
RealtimeRateLimit
RealtimeReasoning
Configuration for reasoning-capable Realtime models such as gpt-realtime-2.
RealtimeResponse
RealtimeResponseCreateParams
The response resource.
RealtimeResponseStatusDetail
RealtimeResponseUsage
RealtimeServerEventConversationItemAdded
RealtimeServerEventConversationItemDeleted
RealtimeServerEventConversationItemDone
RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
RealtimeServerEventConversationItemInputAudioTranscriptionDelta
RealtimeServerEventConversationItemInputAudioTranscriptionFailed
RealtimeServerEventConversationItemInputAudioTranscriptionSegment
RealtimeServerEventConversationItemRetrieved
RealtimeServerEventConversationItemTruncated
RealtimeServerEventError
RealtimeServerEventInputAudioBufferCleared
RealtimeServerEventInputAudioBufferCommitted
RealtimeServerEventInputAudioBufferDtmfEventReceived
SIP Only: Returned when a DTMF event is received. A DTMF event is a message that represents a telephone keypad press (0–9, *, #, A–D). The event property is the keypad that the user pressed. The received_at is the UTC Unix Timestamp that the server received the event.
RealtimeServerEventInputAudioBufferSpeechStarted
RealtimeServerEventInputAudioBufferSpeechStopped
RealtimeServerEventInputAudioBufferTimeoutTriggered
RealtimeServerEventMCPListToolsCompleted
RealtimeServerEventMCPListToolsFailed
RealtimeServerEventMCPListToolsInProgress
RealtimeServerEventOutputAudioBufferCleared
RealtimeServerEventOutputAudioBufferStarted
RealtimeServerEventOutputAudioBufferStopped
RealtimeServerEventRateLimitsUpdated
RealtimeServerEventResponseAudioDelta
RealtimeServerEventResponseAudioDone
RealtimeServerEventResponseAudioTranscriptDelta
RealtimeServerEventResponseAudioTranscriptDone
RealtimeServerEventResponseContentPartAdded
RealtimeServerEventResponseContentPartDone
RealtimeServerEventResponseCreated
RealtimeServerEventResponseDone
RealtimeServerEventResponseFunctionCallArgumentsDelta
RealtimeServerEventResponseFunctionCallArgumentsDone
RealtimeServerEventResponseMCPCallArgumentsDelta
RealtimeServerEventResponseMCPCallArgumentsDone
RealtimeServerEventResponseMCPCallCompleted
RealtimeServerEventResponseMCPCallFailed
RealtimeServerEventResponseMCPCallInProgress
RealtimeServerEventResponseOutputItemAdded
RealtimeServerEventResponseOutputItemDone
RealtimeServerEventResponseTextDelta
RealtimeServerEventResponseTextDone
RealtimeServerEventSessionCreated
RealtimeServerEventSessionUpdated
RealtimeSession
Realtime session object configuration. openapi spec type: RealtimeSessionCreateRequestGA
RealtimeTranscriptionSession
Realtime transcription session object configuration. openapi spec type: RealtimeTranscriptionSessionCreateRequestGA
ResponseAudio
ResponseAudioOutput
RetentionRatioTruncation
SystemMessageContent
TokenLimits
TokenUsageInputTokenDetailsaudio-types or realtime-types
TracingConfiguration
TranscriptTextUsageDurationaudio-types or realtime-types
TranscriptTextUsageTokensaudio-types or realtime-types
TranscriptionAudio
UserMessageContentInputAudio
UserMessageContentInputImage
UserMessageContentInputText

Enums§

AssistantMessageContent
AudioTranscriptionDelay
Controls how long the model waits before emitting transcription text.
ContentPart
Conversation
DynamoRealtimeClientEvent
OpenAI Realtime client events plus inference-serving extensions from Dynamo.
FunctionType
ImageDetail
MaxOutputTokens
NoiseReductionType
Type of noise reduction. near_field is for close-talking microphones such as headphones, far_field is for far-field microphones such as laptop or conference room microphones.
RealtimeAudioFormats
RealtimeClientEvent
These are events that the OpenAI Realtime WebSocket server will accept from the client.
RealtimeClientEventExtension
Experimental Dynamo extensions to the OpenAI Realtime client event set.
RealtimeConversationItem
RealtimeConversationItemMessage
RealtimeMCPToolCallError
RealtimeRateLimitName
RealtimeReasoningEffort
Constrains effort on reasoning for reasoning-capable Realtime models such as gpt-realtime-2.
RealtimeResponseStatus
RealtimeResponseStatusDetailReason
RealtimeResponseStatusDetailType
RealtimeServerEvent
These are events emitted from the OpenAI Realtime WebSocket server to the client.
RealtimeSessionConfiguration
RealtimeTool
RealtimeTruncation
The truncation strategy to use for the session.
RealtimeTurnDetection
RealtimeVoice
Session
ToolChoice
Tracing
TranscriptionUsageaudio-types or realtime-types
UserMessageContent

Traits§

EventType
Returns the type wire-tag string for a realtime event variant — useful for logging, error messages, and metric labels that need a stable name without reserializing the value.