---
title: "Get all datasets"
method: GET
path: "/datasets"
tags: ["Evaluation Datasets"]
---

# Get all datasets

`GET /datasets`

Retrieves a complete list of all datasets available for evaluations

## Response `200`

Successfully retrieved all datasets

- EvalGetDatasetsResponse — Response containing list of all datasets
  - `datasets` EvalDatasetSummary[], required
    - `_id` string, required — Unique identifier for the dataset
    - `updatedAt` string, date-time, required — Timestamp of the last update
    - `createdAt` string, date-time, required — Timestamp of creation
    - `name` string, required — Name of the dataset
    - `data_length` integer, required — Number of question-answer pairs in the dataset

## Other responses

- `401` — Unauthorized - Invalid or missing authentication
- `500` — Internal server error

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/revisions/1e26909d86c9/schema)
