Version Control
Managing prompt versions
How Versioning Works
Every save creates a new version. Versions are immutable and can be referenced by number.
Version Pinning
Pin a specific version in production to prevent unexpected changes:
const prompt = await client.getPrompt("my-prompt", { version: 5 })Comparing Versions
Use the dashboard to compare any two versions side-by-side and see what changed.