https://retellai.com/?utm_source=discord&utm_medium=seo logo
What is the difference between publish and save
# ❓・ai-evy-support
a
@AI Evy What is the difference between publish and save. Seems like when changing LLM models or voices it needs to be published (not just saved).
a
Thanks for tagging me @akiva_70112. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, there's an important distinction between saving and publishing in Retell AI: Saving creates changes to your LLM or agent configuration, but these changes remain in a draft state [(1) ]() . The API response shows an
is_published
field that indicates whether the LLM is published [(2) ]() [(3) ]() . Publishing makes your changes live and active [(1) ]() [(4) ]() . When an LLM or agent is unpublished, it's editable, but when published, the publish button disappears from the UI [(1) ]() . You're correct that changes to LLM models or voices need to be published, not just saved. As noted in the community discussions, changes can be seen on the dashboard after saving, but they won't go live unless manually published [(4) ]() . The publishing process involves several API calls : 1. PATCH
/update-agent/<agent_id>?version=<version>
2. POST
/publish-agent/<agent_id>?version=<version>
3. PATCH
/update-phone-number/<phone_number>
4. GET
/create-draft-agent/<agent_id>?version=<version>
There's also a known issue where making changes without explicitly saving can cause the agent prompt to revert to the last saved state, resulting in lost changes [(5) ]() .
​ To learn more, see the sources I considered: [[1] LLM is not published API problems](https://discord.com/channels/1186424376300679209/1399706353756278804) [[2] List Retell LLMs](https://docs.retellai.com/api-references/list-retell-llms) [[3] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[4] Update LLM/Agent and publish via API](https://discord.com/channels/1186424376300679209/1392182844951888024) [[5] Autosave Retell LLM changes](https://discord.com/channels/1186424376300679209/1253731456258412596) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.