> ## Documentation Index
> Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# View past prompt runs

> Access, compare, and restore the complete history of your prompt executions

The Playground maintains a complete, versioned history of every prompt run. This lets you review past interactions, compare outputs across different configurations, and restore any previous state — so you never lose a good result.

## Access run history

Your run history is saved automatically after every execution. To access it, click **History** in the Playground:

<img src="https://mintcdn.com/adaline/Um_T8BffW4hfcoYD/images/iterate/accessing-history.png?fit=max&auto=format&n=Um_T8BffW4hfcoYD&q=85&s=a8dde36c8276b1d742171edfed671260" alt="Accessing Playground History" title="Accessing Playground History" style={{ width: "100%" }} width="1478" height="325" data-path="images/iterate/accessing-history.png" />

The history panel displays all past runs in chronological order, with the most recent runs at the top:

<img src="https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/images/iterate/conversation-list.png?fit=max&auto=format&n=-Bsa4BuK4fSdmy67&q=85&s=f2db2dbb1eee1b2410963a1fce8f6396" alt="Playground History — list of past runs" title="Playground History — list of past runs" style={{ width: "100%" }} width="1511" height="610" data-path="images/iterate/conversation-list.png" />

Each history entry captures:

* The prompt configuration at the time of the run (model, parameters, messages)
* Variable values used for that run
* The model's response and metadata
* Token usage and latency metrics

## Restore a previous run

Click **Restore** on any history entry to revert both the Editor and the Playground to that run's exact state. This is useful when a previous version produced better results and you want to continue iterating from that point.

When restoring, you can view the differences between your current prompt and the version you are about to restore. Choose a comparison format:

<img src="https://mintcdn.com/adaline/-Bsa4BuK4fSdmy67/images/iterate/restoration-options.png?fit=max&auto=format&n=-Bsa4BuK4fSdmy67&q=85&s=9dcbcfe9ffcb690bc6079f31ef5fd4ed" alt="Playground History restoration options" title="Playground History restoration options" style={{ width: "100%" }} width="1503" height="458" data-path="images/iterate/restoration-options.png" />

| Format     | Description                                                                                                                |
| ---------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Pretty** | Shows the differences as a visual, message-by-message diff. Best for quickly spotting changes in natural language prompts. |
| **JSON**   | Shows the raw JSON diff between prompt versions. Best for structured prompts and precise parameter comparison.             |
| **YAML**   | Shows the YAML diff between prompt versions. An alternative structured view for readability.                               |

## How history works

* **Automatic saving** — Every run is saved automatically. There is nothing to configure or remember.
* **Bi-directional restore** — Restoring a run updates both the Editor (prompt, model settings) and the Playground (conversation state).
* **Non-destructive** — Restoring a previous run does not delete later history entries. You can always go forward again.

## Next steps

<CardGroup cols={2}>
  <Card title="Run Prompts in Playground" icon="play" href="/docs/iterate/run-prompts-in-playground">
    Learn about running and iterating on prompts.
  </Card>

  <Card title="Link Datasets" icon="database" href="/docs/iterate/link-datasets-in-playground">
    Connect datasets to test with multiple variable samples.
  </Card>
</CardGroup>
