demigod0007_86086
10/23/2025, 4:45 PMAI Evy
10/23/2025, 4:45 PMAI Evy
10/23/2025, 4:46 PM"is_published": false for the updated draft version, indicating it needs to be published to go live [(1) ]() .
3. Ensure proper transitions if using multi-prompt agents - If you're using a multi-prompt agent, the issue might be related to state transitions not working properly between dashboard testing and API calls [(2) ]() . Some users have found that complex multi-prompt agents can feel "quirky" and have found conversation flow to be more reliable for complex scenarios [(3) ]() .
You can update your agent using the API like this:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { agent_name: 'Jarvis' }) ;
console.log(agentResponse.agent_id) ;AI Evy
10/23/2025, 4:46 PMAI Evy
10/23/2025, 4:46 PM