After you publish a Spell, you may want to make edits later. After publishing a few versions, you may also want to revert the Spell to an older state. Spell versions help you with both of these cases.Documentation Index
Fetch the complete documentation index at: https://docs.respell.ai/llms.txt
Use this file to discover all available pages before exploring further.
Spell Versions Overview
When you are creating a new Spell, you won’t see anything about Spell versions in the editor. This is because there’s only one version - the initial draft. Once you publish your Spell, your draft version becomes a published version. If you enter the editor again, you’ll find the Spell versions selector next to the Spell name:
Clicking the selector will show a dropdown of all of your Spell versions. In this case, there is the live published version (v2) and a draft. Whenever you are in the editor, you are viewing a draft version of your Spell; you’ll never be editing a published version, as it’s locked in its state and cannot be modified.
If you update the Spell and enter the editor again, you’ll now have 3 versions: a draft (the one you’re editing), the live published version, and the old published version.
Two important concepts to keep in mind:
- Published versions can never be modified or deleted
- Spells can only have one draft version

