> ## Documentation Index
> Fetch the complete documentation index at: https://statsig-4b2ff144-serverless-cloudflare.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Config History

History for entities like Feature Gates, Experiments, Dynamic Configs, and Segments can be accessed by clicking the "History" button on the top right of the page.

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-serverless-cloudflare/LKnZZJKOT7Wwbi23/images/config_history.png?fit=max&auto=format&n=LKnZZJKOT7Wwbi23&q=85&s=e113b523f0dffd2ba0a73fee9aa68882" alt="Config History" width="730" height="290" data-path="images/config_history.png" />
</Frame>

This page shows each change to a given config and the time that change was published.

<Frame>
  <img src="https://user-images.githubusercontent.com/77301670/169888219-6dd20bb4-2d22-4396-b9cb-ebe3a7307b90.png" alt="Screen Shot 2022-05-23 at 11 58 29 AM" />
</Frame>

For Feature Gates and Dynamic Configs, there is also a "Preview" and "Restore" option. These are meant to make it easy to revert to a previous state, particularly if you start rolling something out that is causing issues in production. The "preview" action will show a diff view between the current state of the gate and the previous state you selected, so you can make sure you are reverting to the correct state.

<Frame>
  <img src="https://user-images.githubusercontent.com/77301670/169888598-df6f94ee-0194-4f09-906e-d85ed89cd554.png" alt="Screen Shot 2022-05-23 at 12 02 38 PM" />
</Frame>

For Gates, Dynamic Configs, and Segments, you can also select two different versions, and compare the differences between the states of the entity between the two versions.

<Frame>
  <img src="https://mintcdn.com/statsig-4b2ff144-serverless-cloudflare/LKnZZJKOT7Wwbi23/images/config_history_compare_changes.png?fit=max&auto=format&n=LKnZZJKOT7Wwbi23&q=85&s=95d2fa0314733a1f13277ef3f3fb6b1b" alt="Compare Configs" width="2512" height="1476" data-path="images/config_history_compare_changes.png" />
</Frame>

<Info>
  Note that changes in nested configs are not listed (e.g. if this gate references another gate or segment via a "Passes Target Gate" or "User in Segment" condition, changes to the other gate or segment will not show in the history view).
</Info>
