Version history, the clock button just right of Redo, lists earlier states of the diagram, newest first, with a picture of each page.
A version is kept on its own every 10 minutes while you work, before Ask AI or an agent changes a page, and before a restore. To keep one that matters, type a name at the top and pick Save version. The newest 30 automatic versions are kept, and up to 50 you name.
Restore this version puts its pages back. How the diagram was is kept as a version first, and Undo takes the restore back too. Open as a copy makes a new diagram from the version and leaves this one as it is.
When you are signed in, versions are kept in your account, so they are on every device, and everyone who edits the diagram sees the same list. Without an account they stay in this browser.