Send this event to clear the audio bytes in the buffer. The server will respond with an input_audio_buffer.cleared event.

interface InputAudioBufferClearEvent {
    event_id?: string;
    type: "input_audio_buffer.clear";
}

Properties

Properties

event_id?: string

Optional client-generated ID used to identify this event.

type: "input_audio_buffer.clear"

The event type, must be input_audio_buffer.clear.