Mohit
04/14/2026, 1:28 PMMohit
04/14/2026, 1:32 PMShaunak
04/15/2026, 4:58 AMMohit
04/15/2026, 11:55 AMMohit
04/16/2026, 9:32 AMShaunak
04/16/2026, 10:05 AMjson
"stopSpeakingPlan": {
"numWords": 0,
"voiceSeconds": 0.5
}
numWords: 0 means the assistant stops speaking on any sound, without waiting for transcribed words
voiceSeconds: 0.5 means just 500ms of audio is enough to cut it off
In a noisy environment with background conversation, this fires constantly. The denoiser helps with static but can't always distinguish background speech from the caller speaking directly.Shaunak
04/16/2026, 10:05 AMjson
"stopSpeakingPlan": {
"numWords": 3,
"voiceSeconds": 0.2,
"backoffSeconds": 1
}Shaunak
04/16/2026, 10:06 AMjson
"confidenceThreshold": 0.6Shaunak
04/16/2026, 10:06 AMjson
"backgroundSpeechDenoisingPlan": {
"smartDenoisingPlan": { "enabled": true },
"fourierDenoisingPlan": {
"enabled": true,
"mediaDetectionEnabled": true,
"staticThreshold": -35,
"baselineOffsetDb": -15,
"windowSizeMs": 3000,
"baselinePercentile": 85
}
}Shaunak
04/16/2026, 10:06 AMbash
curl -X PATCH https://api.vapi.ai/assistant/b035c8d1-ff8a-4320-a2a0-7b941f238979 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"stopSpeakingPlan": {
"numWords": 3,
"voiceSeconds": 0.2,
"backoffSeconds": 1
},
"transcriber": {
"confidenceThreshold": 0.6
}
}'Shaunak
04/16/2026, 10:06 AMMohit
04/16/2026, 10:40 AMShaunak
04/16/2026, 12:55 PMMohit
04/20/2026, 1:59 PMnumWordsToInterruptAssistant from 0 to 3. This is not exposed on the UI, and there is no documentation for it either - would urge you guys to update your docs.
The other things you had suggested were already set to the right values.Shaunak
04/27/2026, 5:39 AM