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

# History and Analytics

> Use version history, score history, diffs, and request analytics to review Table changes.

History and Analytics help you review how a Table changes over time and debug the requests behind computed work.

## Open history

Click **History** in the Table toolbar to open the version history panel.

<Frame>
  <img src="https://mintcdn.com/promptlayer/jIkQ2KU6cJGL355R/images/tables/polished/17-open-history.png?fit=max&auto=format&n=jIkQ2KU6cJGL355R&q=85&s=4c30d981d59b5b7c50134546b194d0e3" alt="History button in the Table toolbar" width="1920" height="1080" data-path="images/tables/polished/17-open-history.png" />
</Frame>

## Version history

Version history keeps checkpoints, score history, preview and diff views, and restore controls in one panel.

<Frame>
  <img src="https://mintcdn.com/promptlayer/jIkQ2KU6cJGL355R/images/tables/polished/20-version-history-panel.png?fit=max&auto=format&n=jIkQ2KU6cJGL355R&q=85&s=b8cdfda0f915b3398b19978a804389ca" alt="Version history panel showing the no saved versions empty state" width="1920" height="1440" data-path="images/tables/polished/20-version-history-panel.png" />
</Frame>

Save versions around meaningful checkpoints so you can compare the sheet before and after important changes.

## When to save versions

Save a version before or after:

* Importing a new dataset or request-history sample.
* Changing a Prompt Template column.
* Editing source mappings.
* Adding or removing score columns.
* Rerunning a large sheet.
* Migrating a legacy Evaluation or Dataset workflow.
* Sharing results with another teammate.

## Use score history

Score history shows how quality changes over time. Use it to compare prompt versions, model or provider changes, assertion logic, dataset changes, bug fixes, and scoring configuration updates.

Score history is most useful when versions are saved at stable checkpoints.

## Preview and diff older versions

Use version previews to inspect what changed. Diff views can show before and after values for cells and configuration changes.

Use this when a score drops or a rerun produces unexpected outputs. Start from the score history change, open the related version, then inspect changed columns or cells.

## Restore a version

If an older version is the correct state, use the restore action from version history. The current version cannot be restored into itself. Older versions can be restored after confirmation.

Use restore carefully when other teammates may be using the Table.

## Open analytics

Click **Analytics** in the Table toolbar to inspect request-level data for work generated by the sheet.

Analytics opens with filters locked to the current Table and sheet, so request data stays scoped to the work you are reviewing.

<Frame>
  <img src="https://mintcdn.com/promptlayer/jIkQ2KU6cJGL355R/images/tables/polished/21-analytics-drawer.png?fit=max&auto=format&n=jIkQ2KU6cJGL355R&q=85&s=4479ccc1c4021cd0172e6af17496c101" alt="Analytics drawer opened from a Table with locked Table and sheet filters, search, date range, and request analytics tabs" width="1920" height="1440" data-path="images/tables/polished/21-analytics-drawer.png" />
</Frame>

## Analytics drawer

Use Analytics to debug what happened behind a computed cell, trace a prompt request, or inspect request behavior for the current sheet.

## Column analytics

Some computed columns support request-log analytics directly from column or version preview controls. Use column analytics when you want to inspect the requests created by one computed column rather than the entire sheet.

## Review workflow

A typical review loop:

1. Run the sheet or selected stale work.
2. Open **Score** to confirm the summary result.
3. Save or inspect a version in **History**.
4. If the score changed unexpectedly, preview or diff the relevant version.
5. Use **Analytics** to inspect request logs for the sheet or column.
6. Fix inputs, mappings, prompts, code, or scoring, then rerun.

## API references

<CardGroup cols={2}>
  <Card title="List versions" icon="list" href="/reference/table-sheet-versions-list">
    List saved versions for a sheet.
  </Card>

  <Card title="Create version" icon="floppy-disk" href="/reference/table-sheet-versions-create">
    Save a version checkpoint.
  </Card>

  <Card title="Get version" icon="magnifying-glass" href="/reference/table-sheet-versions-get">
    Read a saved version.
  </Card>

  <Card title="Score history" icon="chart-line" href="/reference/table-sheet-score-history-get">
    Read score history for a sheet.
  </Card>
</CardGroup>
