# Undo & Checkpoints

Smart Pages auto-saves checkpoints as you edit.

## Using undo

Click **Undo** in the top bar to revert to the previous checkpoint. Each click goes back one step.

{% hint style="info" %}
Up to **20 checkpoints** per conversation. Oldest removed when limit reached.
{% endhint %}

## When checkpoints are created

* Before AI changes a section
* Before reordering sections
* Before deleting a section

## Limitations

* Works within current editing session only
* Publishing is not undoable — undo changes and republish instead
* No "redo" — new edits create new checkpoints


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pagefly.io/smart-pages/preview-and-publish/undo-and-checkpoints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
