New: Version History for Content and Component Models

Joel Varty
CTO

You save a change to a content model, and a page on your live site stops working. Which field was it? What did the model look like this morning?
Now you can find out in a few clicks. We just released version history for content models and component models. Every change to a model's fields or reference name is saved as a version. Open a model and select History to see who changed it and when, compare any earlier version with the current model, and roll back.
Why we built it
A model change is one of the few edits in a CMS that can break a live site. Remove a field your front end reads, change a reference name, or make a field required, and pages can fail before anyone notices. Content items and pages have had version history for years, and now models have it too. Before this, when a model change went wrong, there was no record of what the model looked like before and no clean way back.
Models are also being changed by more hands than before: developers in the Content Manager, CLI scripts, CI pipelines, and AI tools working through the MCP server. Every one of those saves now leaves a version you can inspect and undo.
How it works
A version is saved when a model's fields or reference name change. That covers fields added, removed, renamed, reordered or retyped, and changes to a field's settings. The display name, description, visibility, thumbnails and agent guidance don't create versions.
History lists each version with who made the change, when, and a short summary of what changed. Select Compare with current to see the fields added, removed and changed between that version and the model as it is now.
Roll back restores that version's fields and reference name. Before anything is saved, Agility checks what the rollback would affect: fields that would be removed or change type, with the number of items that have values in them, fields that would become required, and a reference name another model already uses. You confirm before it goes ahead.
Rolling back never changes your content. It saves the model as a new version, so a rollback can be rolled back too.

For developers
The same history is in the Management API, under /api/v1/instance/{guid}:
| Route | What it does |
|---|---|
GET model/{id}/versions |
Lists a model's versions, newest first |
GET model/{id}/versions/{n} |
One version, with the model as it was |
GET model/{id}/versions/diff?from=&to= |
What changed between two versions, or between a version and now |
GET model/{id}/versions/{n}/revert-check |
What a rollback to version n would affect |
POST model/{id}/versions/{n}/revert |
Rolls back |
A rollback through the API runs the same checks as the Content Manager. It returns 409 until you send acknowledgeWarnings: true along with the version number you checked against, so a script or an AI agent can't roll a model back by accident, or over someone else's newer change.
Good to know
- 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.
- Fields are matched by name, so a renamed field shows as one field removed and one added.
Learn more
- Model Version History in the docs
- Version History and Commenting for content and pages
- Changelog


