---
title: "List a dataset's published versions"
method: GET
path: "/api/v1/public/datasets/{dataset_id}/versions"
tags: ["Offline Eval"]
---

# List a dataset's published versions

`GET /api/v1/public/datasets/{dataset_id}/versions`

## Request

- Base URL: `https://app.traceroot.ai`
- URL: `https://app.traceroot.ai/api/v1/public/datasets/{dataset_id}/versions`
- Auth: HTTP bearer

List versions newest-first, each with its case count and whether it is current.

## Path parameters

- `dataset_id` string, required

## Query parameters

- `limit` integer: Versions per page
- `cursor` string, nullable: Opaque cursor from a previous page
- `project_id` string, nullable: Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

## Response `200`

Successful Response

- ListDatasetVersionsResponse
  - `next_cursor` string, nullable, required
  - `versions` PublicDatasetVersion[], required
    - `case_count` integer, required
    - `created_at` string, required
    - `dataset_version_id` string, required
    - `is_current` boolean, required
    - `label` string, nullable, required
    - `note` string, nullable, required
    - `version_number` integer, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: No access to this project
- `404`: Not found
- `422`: Validation error
- `429`: Rate limit exceeded
- `503`: Authentication service unavailable

---

[API](https://skmtc.dev/traceroot/apis/traceroot-public-api.md) - [All operations](https://skmtc.dev/traceroot/apis/traceroot-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/traceroot/apis/traceroot-public-api/revisions/ce6aef96c0d6?raw)
