API publish-agent does not snapshot updated conversation flow content — only dashboard Deploy works
We’re building a multi-tenant platform where all agents share one conversation flow. We update flow nodes and global_prompt via PATCH /update-conversation-flow (returns 200, GET confirms changes saved). Then we publish agents via POST /publish-agent (returns 200, version increments).
Problem: live calls still use the OLD node content from the original flow version. The published agent snapshot does not pick up the updated draft.
What we’ve tried:
-
PATCH /update-conversation-flow to update greeting node text — 200 OK, GET confirms change
-
POST /publish-agent — 200 OK, version increments
-
PATCH /update-phone-number with different agent_version values (0, latest, specific version) — all accepted, none fix the content
-
Deleting and recreating agents — new agents still get old flow content
-
Publishing via the Python SDK (client.agent.publish) — same result
-
Passing extra params to publish (force, snapshot_flow, etc.) — silently ignored
What DOES work: manually editing the node in the Retell dashboard and clicking Deploy. After that, the agent serves the correct content immediately.
This means the dashboard Deploy does something that the API publish-agent endpoint does not. For us this is a blocker — we provision agents programmatically and can’t manually deploy each one.
Questions:
-
Is there an API equivalent to the dashboard Deploy button that re-snapshots the current flow draft into the published version?
-
When creating new agents on a shared flow, how do we ensure they get the latest flow content instead of the original version 0 content?
-
Does the inbound webhook agent_override support conversation flow version or node overrides?