snowskidude
08/22/2025, 2:48 AMAI Evy
08/22/2025, 2:48 AMAI Evy
08/22/2025, 2:49 AMdenoising_mode parameter [(1) ]() [(2) ]() . You can verify that this parameter was accepted and applied by retrieving the agent configuration using the Get Agent API endpoint [(1) ]() .
When you call the Get Agent endpoint, the response will include the denoising_mode field showing the current setting . The available options are:
- "noise-cancellation"
- "noise-and-background-speech-cancellation" [(2) ]()
Here's how to retrieve the agent configuration:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(agentResponse.agent_id) ;
[(1) ]()
The response will include the denoising_mode field in the JSON, confirming what setting is currently applied . You can also use the List Agents endpoint to see this setting across all your agents [(3) ]() .AI Evy
08/22/2025, 2:49 AMAI Evy
08/22/2025, 2:49 AMsnowskidude
08/22/2025, 2:52 AMAI Evy
08/22/2025, 2:52 AMAI Evy
08/22/2025, 2:52 AMdenoising_mode parameter (including "noise-and-background-speech-cancellation") is configured at the agent level [(1) ]() [(2) ]() . This means when you set this parameter, it becomes part of the agent's configuration and persists across all calls made by that agent .
The setting is not limited to a single conversation - it remains active for all future calls until you explicitly update the agent configuration to change the denoising_mode setting [(2) ]() . If you want to modify this setting, you would need to use the Update Agent API endpoint to change the denoising_mode parameter .
The available options for denoising_mode are "noise-cancellation" and "noise-and-background-speech-cancellation", with the default being "noise-cancellation" .AI Evy
08/22/2025, 2:52 AMAI Evy
08/22/2025, 2:52 AM