Returned in server_vad mode when the server detects the end of speech in the audio buffer. The server will also send an conversation.item.created event with the user message item that is created from the audio buffer.

interface InputAudioBufferSpeechStoppedEvent {
    audio_end_ms: number;
    event_id: string;
    item_id: string;
    type: "input_audio_buffer.speech_stopped";
}

Properties

audio_end_ms: number

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.

event_id: string

The unique ID of the server event.

item_id: string

The ID of the user message item that will be created.

type: "input_audio_buffer.speech_stopped"

The event type, must be input_audio_buffer.speech_stopped.