https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to override the agent version to the draft ver...
# ❓・ai-evy-support
p
@AI Evy how to override the agent version to the draft version?
a
Thanks for tagging me @ph7jack. I'll look through relevant sources and get back to you shortly.
### Answer To override the agent version to the draft version, set the agent version to "Draft" at the phone number level using the "Phone Numbers" tab in the dashboard. When you select "Draft," the system will always use the latest version of the agent, so any changes you make to the draft will be used without needing to publish a new version [(1) ]() [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Setup versioning for agents](https://docs.retellai.com/agent/version) [[2] Discord message from @omar.13. on 2025-08-13](https://discord.com/channels/1186424376300679209/1294891368505937952/1405226164376571948) [[3] Discord message from @askep3 on 2025-08-14](https://discord.com/channels/1186424376300679209/1186462578310910112/1405360061550821428) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the follow-up, @ph7jack. I'll get back to you soon.
p
a
### Answer To override the agent version for a single call using the Retell AI API, use the override_agent_version field in your POST request body to /v2/create-phone-call. Set this to the desired version number (e.g., the draft version number) you want for that call. This does not permanently change the agent version for the number, it only applies to that particular call [(1) ]() . Example (JSON body) :
Copy code
json
{
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "override_agent_version": 1
}
Replace 1 with your draft version number if needed . For details, see: [Create Phone Call API Reference]() .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
p
I want to use the draft version, not a published on
@AI Evy I want to use the draft version, not a published on
a
Thanks for the follow-up, @ph7jack. I'll get back to you soon.
### Answer You cannot use the draft version (an unpublished agent version) for calls via the API—only published versions can be referenced by version number in API calls. The draft version is not addressable by override_agent_version in the create-phone-call API. If you want to use the draft version, you must set the phone number to use "Draft" in the dashboard's Phone Numbers tab; this is not available through the API as of the information in the sources [(1) ]() , [(2) ]() .
​ To learn more, see the sources I considered: [[1] Setup versioning for agents](https://docs.retellai.com/agent/version) [[2] Discord message from @userrk1329 on 2025-08-13](https://discord.com/channels/1186424376300679209/1294891368505937952/1405220586338390186) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.