Managing Prompt Versions
Promote, revert, and compare versions safely.
This guide walks through the canonical loop for evolving a production
prompt: edit on development, diff, promote, monitor, and revert if a
regression sneaks through. It assumes you already understand the
prompts data model.
Open the prompt and click Edit. Make your change — body, model, temperature, anything. Save. PromptHelm bumps the minor version (e.g.
1.4.0→1.5.0) and lands the new snapshot on thedevelopmentbranch.productionis untouched.The version list shows every snapshot with a Compare action. Pick the new version on the left, the current production version on the right. The diff highlights changes to the body, system prompt, variable schema, and parameter overrides.
Read the parameter diff carefully
A
temperatureswing from0.2to0.8is invisible in the body diff but can wreck reproducibility. Use the parameter pane.Click Promote. PromptHelm flips the production pointer atomically and writes a
prompt.promoteentry to the audit log. Live SDK and gateway calls hittingproductionnow resolve to the new version.curl -X POST https://api.prompthelm.app/api/v1/prompts/$ID/versions/$VERSION_ID/promote \ -H "Authorization: Bearer $PROMPTHELM_API_KEY"Open the Analytics tab. Compare the
p95latency, success rate, and average cost between the new version and the previous one across a few hundred calls. A regression usually shows up within minutes of real traffic.If anything looks wrong, find the previous production version in the list and click Revert. The pointer swings back; no version is deleted. You then have a clean diff to root-cause the bad version without a stop-the-world incident.