snowskidude
08/21/2025, 4:26 PMAI Evy
08/21/2025, 4:27 PMAI Evy
08/21/2025, 4:27 PMdenoising_mode parameter to "noise-and-background-speech-cancellation" [(1) ]() .
The available options for denoising_mode are [(1) ]() [(2) ]() :
- "noise-cancellation" (default) : Removes background noise with nearly no distortion to the waveform
- `"noise-and-background-speech-cancellation"`: More aggressive mode that removes both background noise and background speech
This more aggressive mode might distort the waveform and can result in lower speech-to-text accuracy in certain cases [(3) ]() . It also incurs a $0.005/min surcharge as it requires more processing power .
You can set this when creating or updating an agent through the API by including the denoising_mode field in your request [(1) ]() .AI Evy
08/21/2025, 4:27 PMAI Evy
08/21/2025, 4:27 PMsnowskidude
08/21/2025, 4:59 PMAI Evy
08/21/2025, 4:59 PMAI Evy
08/21/2025, 4:59 PMdenoising_mode parameter correctly, you can use the Get Agent API to check the agent's configuration after creating or updating it [(1) ]() .
After sending your create or update request with the denoising_mode parameter, you can verify it was applied by calling:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponses = await client.agent.list() ;
console.log(agentResponses) ;
[(2) ]()
The response will include the denoising_mode field showing the current setting [(1) ]() [(2) ]() . For example, you should see:
json
{
"denoising_mode": "noise-and-background-speech-cancellation"
}
This allows you to confirm that Retell received and applied your denoising_mode parameter correctly. The available options are "noise-cancellation" (default) and "noise-and-background-speech-cancellation" [(1) ]() .AI Evy
08/21/2025, 4:59 PMAI Evy
08/21/2025, 4:59 PM