What are Latest Snapshots?
A latest snapshot is a widget on an evaluation group dashboard that computes against only the most recently created evaluation in a group.“Most recent” is defined as the evaluation in the group with the latest
created_at timestamp — not the order in which evaluations were added to the group.When to use it
- Snapshot tiles at the top of a dashboard that need to read the last run’s score.
- Comparison views where you want the latest run highlighted alongside trend visualizations of the full group.
- Always-fresh KPI widgets that should automatically refocus on a new evaluation as soon as it’s added to the group.
Where it applies
Latest snapshots are only available on widgets that issue a query.| Widget type | Latest Only available? |
|---|---|
| Metric (Query Value) | Yes |
| Bar | Yes |
| Histogram | Yes |
| Donut | Yes |
| Table (grouped or flat) | Yes |
| Scatter | Yes |
| Timeseries | Yes, but rarely useful — collapses the chart to a single point |
| Markdown, Heading | Not applicable |
Enable via the UI
Toggle Latest only in the widget modal when creating or editing a widget.
Enable via the SDK
Setlatest_only: true on the query payload when creating or updating the widget. The flag is supported on both SeriesQuery (Bar / Histogram / Donut / Table / Scatter / Timeseries) and MetricQuery (Metric / Query Value).
latest_only or setting it to false keeps the existing behavior of computing across the full group.
