Skip to main content
Triggered when the server detects that the user has started speaking via server-side voice activity detection (VAD). Handle this event to stop any current AI response playback when the user interrupts the AI’s response.

Event Properties

string
Event type. Always "realtime.input_audio_buffer.speech_started" for this event.
object
Event data object. May be empty or contain additional metadata.

Usage Example

When the user starts speaking while the AI is responding, this event will interrupt the AI response naturally. You should stop audio playback and clear the audio queue to ensure a smooth user experience.