Tubussie
01/20/2026, 6:25 PMAI Evy
01/20/2026, 6:25 PMAI Evy
01/20/2026, 6:25 PMis_published: false) is where you make your changes
- Once you're ready, you publish again to make your draft changes live [(1) ]()
For Conversation Flow agents specifically, when you publish:
- The published version snapshots any shared Components as local copies to protect production behavior [(3) ]()
- Your draft stays linked to shared Components so you can keep iterating
- Publish again when you want to promote the latest changes to production
You can update your draft chat agent using the Update Chat Agent API endpoint before publishing:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const chatAgentResponse = await client.chatAgent.update('16b980523634a6dc504898cda492e939') ;
console.log(chatAgentResponse.agent_id) ;
[(4) ]()
Then publish when ready:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
await client.chatAgent.publish('16b980523634a6dc504898cda492e939') ;
[(1) ]()AI Evy
01/20/2026, 6:25 PMAI Evy
01/20/2026, 6:25 PM