Rate this page:

RealtimeAPIEvents

Constants

ConnectorInformation

Copy URL

Contains information about connector.

Parameters

ConversationItemAdded

Copy URL

Sent by the server when an Item is added to the default Conversation. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/added

Parameters

ConversationItemDeleted

Copy URL

Returned when an item in the conversation is deleted by the client with a conversation.item.delete event. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/deleted

Parameters

ConversationItemDone

Copy URL

Parameters

ConversationItemInputAudioTranscriptionCompleted

Copy URL

This event is the output of audio transcription for user audio written to the user audio buffer. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/input_audio_transcription/completed

Parameters

ConversationItemInputAudioTranscriptionDelta

Copy URL

Returned when the text value of an input audio transcription content part is updated with incremental transcription results. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/input_audio_transcription/delta

Parameters

ConversationItemInputAudioTranscriptionFailed

Copy URL

Returned when input audio transcription is configured, and a transcription request for a user message failed. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/input_audio_transcription/failed

Parameters

ConversationItemInputAudioTranscriptionSegment

Copy URL

Parameters

ConversationItemRetrieved

Copy URL

Returned when a conversation item is retrieved with conversation.item.retrieve. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/retrieved

Parameters

ConversationItemTruncated

Copy URL

Returned when an earlier assistant audio message item is truncated by the client with a conversation.item.truncate event. https://platform.openai.com/docs/api-reference/realtime-server-events/conversation/item/truncated

Parameters

Error

Copy URL

Returned when an error occurs, which could be a client problem or a server problem. https://platform.openai.com/docs/api-reference/realtime-server-events/error

Parameters

HTTPResponse

Copy URL

The HTTP response event.

Parameters

InputAudioBufferCleared

Copy URL

Returned when the input audio buffer is cleared by the client with an input_audio_buffer.clear event. https://platform.openai.com/docs/api-reference/realtime-server-events/input_audio_buffer/cleared

Parameters

InputAudioBufferCommited

Copy URL

Parameters

InputAudioBufferSpeechStarted

Copy URL

Sent by the server when in server_vad mode to indicate that speech has been detected in the audio buffer. https://platform.openai.com/docs/api-reference/realtime-server-events/input_audio_buffer/speech_started

Parameters

InputAudioBufferSpeechStopped

Copy URL

Returned in server_vad mode when the server detects the end of speech in the audio buffer. https://platform.openai.com/docs/api-reference/realtime-server-events/input_audio_buffer/speech_stopped

Parameters

InputAudioBufferTimeoutTriggered

Copy URL

Returned when the Server VAD timeout is triggered for the input audio buffer. https://platform.openai.com/docs/api-reference/realtime-server-events/input_audio_buffer/timeout_triggered

Parameters

MCPListToolsCompleted

Copy URL

Parameters

MCPListToolsFailed

Copy URL

Parameters

MCPListToolsInProgress

Copy URL

Parameters

RateLimitsUpdated

Copy URL

Emitted at the beginning of a Response to indicate the updated rate limits. https://platform.openai.com/docs/api-reference/realtime-server-events/rate_limits/updated

Parameters

ResponseContentPartAdded

Copy URL

Returned when a new content part is added to an assistant message item during response generation. https://platform.openai.com/docs/api-reference/realtime-server-events/response/content_part/added

Parameters

ResponseContentPartDone

Copy URL

Returned when a content part is done streaming in an assistant message item. https://platform.openai.com/docs/api-reference/realtime-server-events/response/content_part/done

Parameters

ResponseCreated

Copy URL

Parameters

ResponseDone

Copy URL

Parameters

ResponseFunctionCallArgumentsDelta

Copy URL

Parameters

ResponseFunctionCallArgumentsDone

Copy URL

Returned when the model-generated function call arguments are done streaming. https://platform.openai.com/docs/api-reference/realtime-server-events/response/function_call_arguments/done

Parameters

ResponseMCPCallArgumentsDelta

Copy URL

Returned when MCP tool call arguments are updated during response generation. https://platform.openai.com/docs/api-reference/realtime-server-events/response/mcp_call_arguments/delta

Parameters

ResponseMCPCallArgumentsDone

Copy URL

Returned when MCP tool call arguments are finalized during response generation. https://platform.openai.com/docs/api-reference/realtime-server-events/response/mcp_call_arguments/done

Parameters

ResponseMCPCallCompleted

Copy URL

Parameters

ResponseMCPCallFailed

Copy URL

Parameters

ResponseMCPCallInProgress

Copy URL

Parameters

ResponseOutputAudioDone

Copy URL

Parameters

ResponseOutputAudioTranscriptionDelta

Copy URL

Returned when the model-generated transcription of audio output is updated. https://platform.openai.com/docs/api-reference/realtime-server-events/response/output_audio_transcript/delta

Parameters

ResponseOutputAudioTranscriptionDone

Copy URL

Returned when the model-generated transcription of audio output is done streaming. https://platform.openai.com/docs/api-reference/realtime-server-events/response/output_audio_transcript/done

Parameters

ResponseOutputItemAdded

Copy URL

Returned when a new Item is created during Response generation. https://platform.openai.com/docs/api-reference/realtime-server-events/response/output_item/added

Parameters

ResponseOutputItemDone

Copy URL

Parameters

ResponseOutputTextDelta

Copy URL

Returned when the text value of an "output_text" content part is updated. https://platform.openai.com/docs/api-reference/realtime-server-events/response/output_text/delta

Parameters

ResponseOutputTextDone

Copy URL

Returned when the text value of an "output_text" content part is done streaming. https://platform.openai.com/docs/api-reference/realtime-server-events/response/output_text/done

Parameters

SessionCreated

Copy URL

Parameters

SessionUpdated

Copy URL

Returned when a session is updated with a session.update event, unless there is an error. https://platform.openai.com/docs/api-reference/realtime-server-events/session/updated

Parameters

Unknown

Copy URL

The unknown event.

Parameters

WebSocketError

Copy URL

The WebSocket error response event.

Parameters