Every change to a guardrail creates a new immutable version in Optimizely Opal. Browse the version history to review previous versions and restore any of them. Restore a version directly from the list, or preview it in read-only mode first.
Restoring creates a new version that copies the selected version. The copy includes the rule text, block message, training data, and trained model. Restoring does not modify or delete the original version. When the restored version includes a trained model, the new version is available for activation without retraining.
Open the version history
To view the version history of a guardrail, complete the following steps in Opal:
-
Go to Agents > Input Guardrails.
- Click a guardrail.
- Click Version history. The panel lists the current version and all previous versions, each with its status.
Restore a version directly
To restore a guardrail to a previous version without viewing it, complete the following steps:
- Complete the steps in the Open the version history section.
- In the Version history panel, locate the previous version you want to restore.
- Click More options for that version.
-
Click Restore this version.
Preview a version before you restore it
To preview a previous version of the guardrail before restoring it, complete the following steps:
- Complete the steps in the Open the version history section.
- In the Version history panel, locate the previous version you want to review.
- Click More options for that version.
-
Click View this version. The guardrail opens in read-only preview mode.
- Do one of the following:
- Click Restore this version to make the previewed version the current version.
- Click Exit preview to return to the latest version without restoring.
Related documentation
Learn more about input guardrails in the following articles:
Article is closed for comments.