What is your developer-dependent CMS actually costing you? Calculate your costs and get a full report
What is your developer-dependent CMS actually costing you? Calculate your costs and get a full report
Content Architecture
See every change to your content and component models, compare versions, and roll back with a check first.
Every change to a content model or a component model is saved as a version. Open a model and select History to see who made each change and when. Compare any earlier version with the current model, and roll back if a change causes problems. Rolling back never changes your content.
A version is saved when a model's fields or its reference name change. That includes adding, removing, renaming, reordering or retyping a field, and changing a field's settings, such as making it required.
These changes don't save a version: the display name, the description, visibility, the thumbnail and agent guidance.
A version is saved however the model was changed: in the Content Manager, through the Management API or the CLI, or by an AI tool connected through the MCP server.
Version history started recording in November 2026. A model that hasn't changed since then has no versions yet. The first time it changes, Agility saves the state it's leaving as the Original version, so you can compare with it and roll back to it.
Page models aren't versioned.
Versions are listed newest first, and the newest is marked Current. Each one shows who made the change, when, and a summary such as Fields: 1 added, 2 changed or Reference name changed. A rollback shows as Rolled back to v3. Select Show more to load older versions.
A version can say No visible changes. That means the save changed how the model is stored without changing anything you can see in its fields.
Select Compare with current on a version. The Compare Model Versions window shows the fields that were added, removed or changed between that version and the model as it is now, and whether the field order or the reference name changed.
Fields are matched by name, so a renamed field shows as one field removed and one added.
You need permission to edit models to roll back.
A rollback restores the version's fields and reference name. The display name, description, visibility, thumbnail and agent guidance stay as they are.
A rollback is saved as a new version, so you can roll it back too.
Rolling back never changes your content. The model is saved with the earlier fields, and your content is delivered through the APIs with that model, just as after any model save.
Some rollbacks can't go ahead. If another model now uses the reference name, the rollback is blocked. If someone else changed the model after you opened the check, Agility asks you to check again.
Items affected can say Couldn't count the items affected. That happens on very large models, or when a field's values can't be read. It never means zero.
The history is also in the Management API, under /api/v1/instance/{guid}. These routes need permission to edit models.
| Route | Returns |
|---|---|
GET model/{id}/versions?skip=0&take=50 | The model's versions, newest first, each with who changed it, when, and a summary of what changed |
GET model/{id}/versions/{n} | One version, with the model as it was, in the same shape as GET model/{id} |
GET model/{id}/versions/diff?from=&to= | The fields added, removed and changed between two versions. Leave out to to compare with the model now |
GET model/{id}/versions/{n}/revert-check | What a rollback to version n would affect, and whether it's blocked |
POST model/{id}/versions/{n}/revert | Rolls back. Body: { "expectedCurrentVersionNumber": 7, "acknowledgeWarnings": true } |
The rollback returns 409 with the check in the body when it's blocked, when the warnings haven't been acknowledged, or when the model has changed since expectedCurrentVersionNumber. Run the check again and resend.