---
title: "List the project's evaluation datasets"
method: GET
path: "/api/v1/public/datasets"
tags: ["Offline Eval"]
---

# List the project's evaluation datasets

`GET /api/v1/public/datasets`

## Request

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

List datasets, newest first. `next_cursor` is null on the last page.

## Query parameters

- `limit` integer: Datasets per page
- `cursor` string, nullable: Opaque cursor from a previous page
- `name` string, nullable: Case-insensitive substring of the name
- `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

- ListDatasetsResponse
  - `datasets` PublicDataset[], required
    - `current_dataset_version_id` string, nullable, required
    - `dataset_id` string, required
    - `description` string, nullable, required
    - `key` string, nullable, required
    - `name` string, required
    - `updated_at` string, required
  - `next_cursor` string, nullable, 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)
