# Realtime ## API Docs - Realtime Websocket > Client events [session.update](https://1km97fp1cj.apifox.cn/websocket-3566853.md): Send this event to update the session’s default configuration. - Realtime Websocket > Client events [input_audio_buffer.append](https://1km97fp1cj.apifox.cn/websocket-3566854.md): Send this event to append audio bytes to the input audio buffer. - Realtime Websocket > Client events [input_audio_buffer.commit](https://1km97fp1cj.apifox.cn/websocket-3566855.md): Send this event to commit audio bytes to a user message. - Realtime Websocket > Client events [input_audio_buffer.clear](https://1km97fp1cj.apifox.cn/websocket-3566856.md): Send this event to clear the audio bytes in the buffer. - Realtime Websocket > Client events [conversation.item.create](https://1km97fp1cj.apifox.cn/websocket-3566857.md): Send this event when adding an item to the conversation. - Realtime Websocket > Client events [conversation.item.truncate](https://1km97fp1cj.apifox.cn/websocket-3566858.md): Send this event when you want to truncate a previous assistant message’s audio. - Realtime Websocket > Client events [conversation.item.delete](https://1km97fp1cj.apifox.cn/websocket-3566859.md): Send this event when you want to remove any item from the conversation history. - Realtime Websocket > Client events [response.create](https://1km97fp1cj.apifox.cn/websocket-3566860.md): Send this event to trigger a response generation. - Realtime Websocket > Client events [response.cancel](https://1km97fp1cj.apifox.cn/websocket-3566861.md): Send this event to cancel an in-progress response. - Realtime Websocket > Server events [error](https://1km97fp1cj.apifox.cn/websocket-3566862.md): Returned when an error occurs. - Realtime Websocket > Server events [conversation.item.input_audio_transcription.completed](https://1km97fp1cj.apifox.cn/websocket-3566863.md): Returned when input audio transcription is enabled and a transcription succeeds. - Realtime Websocket > Server events [conversation.item.input_audio_transcription.failed](https://1km97fp1cj.apifox.cn/websocket-3566864.md): Returned when input audio transcription is configured, and a transcription request for a user message failed. - Realtime Websocket > Server events [conversation.item.truncated](https://1km97fp1cj.apifox.cn/websocket-3566865.md): Returned when an earlier assistant audio message item is truncated by the client. - Realtime Websocket > Server events [conversation.item.deleted](https://1km97fp1cj.apifox.cn/websocket-3566866.md): Returned when an item in the conversation is deleted. - Realtime Websocket > Server events [input_audio_buffer.committed](https://1km97fp1cj.apifox.cn/websocket-3566867.md): Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode. - Realtime Websocket > Server events [input_audio_buffer.cleared](https://1km97fp1cj.apifox.cn/websocket-3566868.md): Returned when the input audio buffer is cleared by the client. - Realtime Websocket > Server events [input_audio_buffer.speech_started](https://1km97fp1cj.apifox.cn/websocket-3566869.md): Returned in server turn detection mode when speech is detected. - Realtime Websocket > Server events [input_audio_buffer.speech_stopped](https://1km97fp1cj.apifox.cn/websocket-3566870.md): Returned in server turn detection mode when speech stops. - Realtime Websocket > Server events [response.created](https://1km97fp1cj.apifox.cn/websocket-3566871.md): Returned when a new Response is created. The first event of response creation, where the response is in an initial state of "in_progress". - Realtime Websocket > Server events [response.done](https://1km97fp1cj.apifox.cn/websocket-3566872.md): Returned when a Response is done streaming. Always emitted, no matter the final state. - Realtime Websocket > Server events [response.output_item.added](https://1km97fp1cj.apifox.cn/websocket-3566873.md): Returned when a new Item is created during response generation. - Realtime Websocket > Server events [response.output_item.done](https://1km97fp1cj.apifox.cn/websocket-3566874.md): Returned when an Item is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [response.content_part.added](https://1km97fp1cj.apifox.cn/websocket-3566875.md): Returned when a new content part is added to an assistant message item during response generation. - Realtime Websocket > Server events [response.content_part.done](https://1km97fp1cj.apifox.cn/websocket-3566876.md): Returned when a content part is done streaming in an assistant message item. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [response.text.delta](https://1km97fp1cj.apifox.cn/websocket-3566877.md): Returned when the text value of a "text" content part is updated. - Realtime Websocket > Server events [response.text.done](https://1km97fp1cj.apifox.cn/websocket-3566878.md): Returned when the text value of a "text" content part is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [response.audio_transcript.delta](https://1km97fp1cj.apifox.cn/websocket-3566879.md): Returned when the model-generated transcription of audio output is updated. - Realtime Websocket > Server events [response.audio_transcript.done](https://1km97fp1cj.apifox.cn/websocket-3566880.md): Returned when the model-generated transcription of audio output is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [response.audio.delta](https://1km97fp1cj.apifox.cn/websocket-3566881.md): Returned when the model-generated audio is updated. - Realtime Websocket > Server events [response.audio.done](https://1km97fp1cj.apifox.cn/websocket-3566882.md): Returned when the model-generated audio is done. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [response.function_call_arguments.delta](https://1km97fp1cj.apifox.cn/websocket-3566883.md): Returned when the model-generated function call arguments are updated. - Realtime Websocket > Server events [response.function_call_arguments.done](https://1km97fp1cj.apifox.cn/websocket-3566884.md): Returned when the model-generated function call arguments are done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled. - Realtime Websocket > Server events [rate_limits.updated](https://1km97fp1cj.apifox.cn/websocket-3566885.md): Emitted after every "response.done" event to indicate the updated rate limits. - Realtime Websocket > Server events [conversation.created](https://1km97fp1cj.apifox.cn/websocket-3566886.md): Returned when a conversation is created. Emitted right after session creation. - Realtime Websocket > Server events [conversation.item.created](https://1km97fp1cj.apifox.cn/websocket-3566887.md): Returned when a conversation item is created. - Realtime Websocket > Server events [session.created](https://1km97fp1cj.apifox.cn/websocket-3566888.md): Returned when a session is created. Emitted automatically when a new connection is established. - Realtime Websocket > Server events [session.updated](https://1km97fp1cj.apifox.cn/websocket-3566889.md): Returned when a session is updated.