> ## Documentation Index
> Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-add-local-eval-country-note-96362.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-mintlify-add-local-eval-country-note-96362/z_Tb2Mh5prF6JipO/images/config_history.png?fit=max&auto=format&n=z_Tb2Mh5prF6JipO&q=85&s=7afa74b994aa1a7be011c71b069606c3" 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://mintcdn.com/statsig-4b2ff144-mintlify-add-local-eval-country-note-96362/l2CVQmWQ0W3QxGgB/images/guides/config-history/169888219-6dd20bb4-2d22-4396-b9cb-ebe3a7307b90.png?fit=max&auto=format&n=l2CVQmWQ0W3QxGgB&q=85&s=4d5b92e8306986739f8ebcdd226e347e" alt="History timeline listing published config changes" width="834" height="742" data-path="images/guides/config-history/169888219-6dd20bb4-2d22-4396-b9cb-ebe3a7307b90.png" />
</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://mintcdn.com/statsig-4b2ff144-mintlify-add-local-eval-country-note-96362/l2CVQmWQ0W3QxGgB/images/guides/config-history/169888598-df6f94ee-0194-4f09-906e-d85ed89cd554.png?fit=max&auto=format&n=l2CVQmWQ0W3QxGgB&q=85&s=aa4f8e8c2eaa2e1051225ff7f741c6c3" alt="Preview and restore dialog comparing config versions" width="853" height="717" data-path="images/guides/config-history/169888598-df6f94ee-0194-4f09-906e-d85ed89cd554.png" />
</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-mintlify-add-local-eval-country-note-96362/z_Tb2Mh5prF6JipO/images/config_history_compare_changes.png?fit=max&auto=format&n=z_Tb2Mh5prF6JipO&q=85&s=d3fbc8751e1c7ae53ea30d9f03923d1d" 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>
