https://retellai.com/?utm_source=discord&utm_medium=seo logo
I tested several agent voices and really liked one...
# ❓・ai-evy-support
a
Thanks for tagging me @noyz. I'll look through relevant sources and get back to you shortly.
### Answer --- Yes, you can retrieve the settings for a specific agent version using the Get Agent Versions API or the Get Voice Agent API with a version parameter. [(1) ]() [(2) ]() Since you have the version number (73) , you can retrieve that specific version's configuration:
Copy code
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) ;
[(2) ]() You can also pass the
version
query parameter to retrieve a specific version rather than the latest draft. Alternatively, use the Get Agent Versions endpoint to retrieve all versions of your agent:
Copy code
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) ;
[(1) ]() The response will include voice settings such as: [(2) ]() -
voice_id
-
voice_temperature
-
voice_speed
-
volume
-
voice_model
-
fallback_voice_ids
Replace the agent ID in the examples with your agent ID (
agent_18991b652659417cec25733aaa
) and specify version 73 to retrieve those exact settings.
​ To learn more, see the sources I considered: [[1] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[2] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.