---
title: "List a dataset's versions"
method: GET
path: "/v1/datasets/{datasetId}/versions"
---

# List a dataset's versions

`GET /v1/datasets/{datasetId}/versions`

## Request

- Base URL: `https://api.ploti.ai`
- URL: `https://api.ploti.ai/v1/datasets/{datasetId}/versions`
- Auth: HTTP bearer

Built versions of a dataset. Numbers increase but can skip; follow previousVersion.

## Path parameters

- `datasetId` string, required

## Query parameters

- `after` integer
- `order` 'asc' | 'desc'
- `limit` integer
- `cursor` string

## Response `200`

Done

- object
  - `versions` object[], required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: The credential is missing or not valid.
- `413`: payload_too_large: the body is over 256 KB (2 MB for /v1/tools).
- `415`: unsupported_media_type: a body was sent without Content-Type: application/json.
- `429`: rate_limited: this credential is over its rate. Retry after the Retry-After header's seconds.
- `500`: internal: Ploti failed. Retry; if it keeps happening, contact support.
- `default`: Refused: nothing was done. The code says why and the links say where the person acts on it.

---

[API](https://skmtc.dev/ploti/apis/ploti-api.md) · [All operations](https://skmtc.dev/ploti/apis/ploti-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ploti/apis/ploti-api/revisions/8c2c91c72d52?raw)
