---
title: "List immutable dashboard versions"
method: GET
path: "/api/dashboards/details/{viewId}/versions"
tags: ["Dashboards"]
---

# List immutable dashboard versions

`GET /api/dashboards/details/{viewId}/versions`

## Request

- Base URL: `https://pluto-api.trainy.ai`
- URL: `https://pluto-api.trainy.ai/api/dashboards/details/{viewId}/versions`
- Auth: HTTP bearer

Returns newest-first version metadata without the full dashboard config.

## Path parameters

- `viewId` string, required

## Query parameters

- `limit` integer
- `beforeVersion` integer

## Response `200`

Dashboard versions listed successfully

- ListDashboardVersionsResponse
  - `currentVersion` integer, required
  - `versions` DashboardVersionMetadata[], required
    - `version` integer, required
    - `name` string, required
    - `source` string, required
    - `restoredFromVersion` integer, nullable, required
    - `createdAt` string, required
    - `createdBy` object, nullable, required
      - `id` string, required
      - `name` string, required
      - `image` string, nullable, required
    - `isCurrent` boolean, required
  - `nextCursor` integer, nullable, required

## Other responses

- `401`: Unauthorized
- `404`: Dashboard not found

---

[API](https://skmtc.dev/trainy/apis/mlop-api.md) - [All operations](https://skmtc.dev/trainy/apis/mlop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainy/apis/mlop-api/revisions/5d2c0b0baecb?raw)
