Events that the Realtime WebRTC server accepts from the client
error
string
- The unique ID of the server event.string
- The event type, must be error.object
- Details of the error.session.created
string
- The unique ID of the server event.string
- The event type, must be session.created.object
- Realtime session object configuration.session.updated
string
- The unique ID of the server event.string
- The event type, must be session.updated.object
- Realtime session object configuration.conversation.item.created
string
- The unique ID of the server event.string
- The event type, must be conversation.item.created.string
- The ID of the preceding item in the Conversation context, allows the client to understand the order of the conversation.object
- The item to add to the conversation.input_audio_buffer.committed
string
- The unique ID of the server event.string
- The event type, must be input_audio_buffer.committed.string
- The ID of the preceding item after which the new item will be inserted.string
- The ID of the user message item that will be created.input_audio_buffer.speech_started
string
- The unique ID of the server event.string
- The event type, must be input_audio_buffer.speech_started.integer
- Milliseconds from the start of all audio written to the buffer during the session when speech was first detected. This will correspond to the beginning of audio sent to the model, and thus includes the prefix_padding_ms configured in the Session.string
- The ID of the user message item that will be created when speech stops.input_audio_buffer.speech_stopped
string
- The unique ID of the server event.string
- The event type, must be input_audio_buffer.speech_stopped.integer
- Milliseconds since the session started when speech stopped. This will correspond to the end of audio sent to the model, and thus includes the min_silence_duration_ms configured in the Session.string
- The ID of the user message item that will be created.output_audio_buffer.started
string
- The unique ID of the server event.string
- The event type, must be output_audio_buffer.started
.string
- The ID of the response that triggered this audio output to startoutput_audio_buffer.stopped
string
- The unique ID of the server event.string
- The event type, must be output_audio_buffer.stopped
.string
- The ID of the response that triggered this audio output.response.done
string
- The unique ID of the server event.string
- The event type, must be response.done.object
- The response resource.response.audio_transcript.delta
string
- The unique ID of the server event.string
- The event type, must be response.audio_transcript.delta.string
- The ID of the response.string
- The ID of the item.integer
- The index of the output item in the response.integer
- The index of the content part in the item’s content array.string
- The transcript delta.