WebRTC Only: Emitted when the output audio buffer is cleared. This happens either in VAD mode when the user has interrupted (input_audio_buffer.speech_started), or when the client has emitted the output_audio_buffer.clear event to manually cut off the current audio response. Learn more.

interface OutputAudioBufferCleared {
    event_id: string;
    response_id: string;
    type: "output_audio_buffer.cleared";
}

Properties

event_id: string

The unique ID of the server event.

response_id: string

The unique ID of the response that produced the audio.

type: "output_audio_buffer.cleared"

The event type, must be output_audio_buffer.cleared.