---
title: "List the dashboard's visual diffs."
method: GET
path: "/v1/dashboards/{id}/diffs"
tags: ["diffs"]
---

# List the dashboard's visual diffs.

`GET /v1/dashboards/{id}/diffs`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/dashboards/{id}/diffs`
- Auth: one of:
  - API key in cookie `dvt_session`
  - HTTP bearer

The dashboard's diffs, newest first.

## Response `200`

The dashboard's diffs.

- DiffCollection
  - `data` Diff[], required
    - `id` string, uuid, required
    - `dashboardId` string, uuid, required
    - `baseRenderId` string, uuid, required
    - `headRenderId` string, uuid, required
    - `status` 'queued' | 'diffing' | 'succeeded' | 'failed', required
    - `error` string: Failure detail; present only when status is `failed`.
    - `diffPixels` integer: Number of changed pixels; present only when status is `succeeded`.
    - `totalPixels` integer: Total comparable pixels; present only when status is `succeeded`.
    - `diffRatio` number, double: diffPixels / totalPixels (0.0 = identical); present only when status is `succeeded`.
    - `url` string, uri: Pre-signed, expiring URL to the diff image; present only when status is `succeeded`.
    - `createdAt` string, date-time, required
    - `completedAt` string, date-time
  - `meta` Meta, required: Response metadata.
    - `requestId` string, required: Correlates with the X-Request-Id header.
    - `total` integer: Item count, present on collection responses.
    - `nextCursor` string, nullable: Opaque keyset-pagination cursor, present on paginated responses (e.g. GET /v1/dashboards) when more rows exist beyond this page. Pass it back as the `cursor` query param to fetch the next page; absent or null on the last page.
    - `roleResolveDegraded` boolean: Snowflake mode only (DVT-2260), on GET /v1/dashboards: present and true when the caller's live Snowflake role resolution failed or was unavailable — role-shared dashboards may be missing from this page. Omitted (not merely false) whenever resolution succeeded or the role-share arm does not apply (off snowflake mode, an org admin/owner, or off the ingress listener).

## Other responses

- `401`: Missing, invalid, or expired session.
- `404`: Resource does not exist.

---

[API](https://skmtc.dev/dvt/apis/dvt-rest-api.md) · [All operations](https://skmtc.dev/dvt/apis/dvt-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dvt/apis/dvt-rest-api/revisions/00016f504165?raw)
