sperg
12/16/2025, 5:17 PMAI Evy
12/16/2025, 5:17 PMAI Evy
12/16/2025, 5:17 PMvoice_id field. However, you can determine the voice used by following these steps:
1. Get the agent_id and agent_version from the call — The List Calls response includes both agent_id and agent_version fields for each call. [(1) ]()
2. Retrieve that specific agent version — Use the Get Agent Versions endpoint with the agent_id to get all versions of the agent, then find the version that matches the agent_version from your call. [(2) ]()
The agent version object contains the voice_id field (e.g., "11labs-Adrian") .
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponses = await client.agent.getVersions('16b980523634a6dc504898cda492e939') ;
console.log(agentResponses) ;
Each agent version in the response includes voice_id, voice_model, fallback_voice_ids, and other voice-related settings.AI Evy
12/16/2025, 5:17 PMAI Evy
12/16/2025, 5:17 PMsperg
12/16/2025, 5:23 PMsperg
12/16/2025, 5:23 PMAI Evy
12/16/2025, 5:23 PMAI Evy
12/16/2025, 5:23 PMagent_id and pass the version as a query parameter to retrieve that specific version's configuration, including the voice_id. [(1) ]()
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) ;
Replace the agent ID with yours. The version query parameter accepts an integer (in your case, 1) .
The response will include the voice_id field (e.g., "11labs-Adrian") , along with other voice settings like voice_model, fallback_voice_ids, voice_temperature, and voice_speed.AI Evy
12/16/2025, 5:23 PMAI Evy
12/16/2025, 5:23 PMsperg
12/16/2025, 5:24 PMAI Evy
12/16/2025, 5:24 PMAI Evy
12/16/2025, 5:25 PMvoice_id is "custom_voice_95f836dc753c283764ced85ad5", which indicates a custom voice was used for this call. [(1) ]()
If you want more details about this specific voice (like the voice name, provider, accent, gender, or a preview audio URL) , you can use the Get Voice endpoint: [(2) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const voiceResponse = await client.voice.retrieve('custom_voice_95f836dc753c283764ced85ad5') ;
console.log(voiceResponse.provider) ;
This will return details like voice_name, provider (e.g., elevenlabs, openai, deepgram) , gender, accent, age, and preview_audio_url.
You also have "openai-Nova" set as a fallback voice, which would be used if the primary voice provider experiences outages. [(1) ]()AI Evy
12/16/2025, 5:25 PMAI Evy
12/16/2025, 5:25 PMsperg
12/16/2025, 5:26 PMAI Evy
12/16/2025, 5:26 PMAI Evy
12/16/2025, 5:26 PMAI Evy
12/16/2025, 5:26 PMelevenlabs
- **Voice Type**: custom (indicating this is a custom ElevenLabs voice, not one of the stock voices)
- **Preview Audio**: You can listen to a sample at that preview_audio_url
So for that call, your agent (version 1) used a custom ElevenLabs voice called "New York Nick - Modern NYC Wiseguy". , [(2) ]()
If you ever want to see all voices available in your account, you can use the List Voices endpoint: [(3) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const voiceResponses = await client.voice.list() ;
console.log(voiceResponses) ;
This will return all voices (both stock and custom) with their details.AI Evy
12/16/2025, 5:26 PM