ruta1212_29251
11/14/2025, 1:00 PMAI Evy
11/14/2025, 1:00 PMAI Evy
11/14/2025, 1:01 PMAI Evy
11/14/2025, 1:01 PMAI Evy
11/14/2025, 1:01 PMruta1212_29251
11/14/2025, 1:13 PMruta1212_29251
11/14/2025, 1:13 PMAI Evy
11/14/2025, 1:13 PMAI Evy
11/14/2025, 1:13 PMversion parameter in your API calls. [(1) ]() If you don't specify a version number, the SDK will default to the latest version of the agent.
For example, when creating a phone call: [(2) ]()
javascript
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
Or when retrieving agent information: [(1) ]()
get_agent() // Gets the latest version of the agent.
The key point is that if the version number is not specified when using the Retell SDK, it will default to the latest version of the agent.
However, if you want to ensure a phone number uses a specific version, you can attach it via the "Phone Numbers" tab in the dashboard. If you select Draft, it will always fetch the latest version of the agent.AI Evy
11/14/2025, 1:14 PMAI Evy
11/14/2025, 1:14 PM