> For the complete documentation index, see [llms.txt](https://docs.struct.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.struct.com/tutorials/guides/how-to-use-the-changelog/how-to-use-rollback-or-export-transactions-in-the-changelog.md).

# How to use rollback or export transactions in the changelog

### Rollback single entity

The rollback feature works like an undo function. When viewing a specific transaction, you can choose to rollback individual entities or the entire transaction.&#x20;

To rollback a single entity, simply hover over it and click the backward arrow that appears.

<div align="left"><figure><img src="/files/O6nFnxcAkF1VShmWo4AI" alt=""><figcaption><p>Rollback single entity</p></figcaption></figure></div>

A confirmation page will then display a preview of how the entity will look after the rollback.

<div align="right"><figure><img src="/files/9iyIHdSkpjW0jp2vGdjL" alt=""><figcaption><p>Confirm the rollback</p></figcaption></figure></div>

### Rollback multiple entities or an entire transaction

If you want to rollback multiple entities, select the ones you need and click the rollback arrow at the top.&#x20;

<figure><img src="/files/mfgtSdIWTkA5mF3M3bhY" alt=""><figcaption><p>Rollback on multiple entities </p></figcaption></figure>

In this case, the confirmation page will not display the same preview, it will simply ask, "Are you sure?”

<figure><img src="/files/cjm9NXrSIqYTBEBQAhv5" alt=""><figcaption><p>Confirm the bulk rollback</p></figcaption></figure>

***

### Export transactions

You can select one or more transactions to export, which will include details such as "UID", "Transaction Type", "Username", "Start Timestamp", and "Commit Timestamp".

<figure><img src="/files/2Itb3tSYQK9IUJzUjdO6" alt=""><figcaption><p>Export transactions</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.struct.com/tutorials/guides/how-to-use-the-changelog/how-to-use-rollback-or-export-transactions-in-the-changelog.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
