---
title: "Get a dataset"
method: GET
path: "/v2/datasets/{dataset_id}"
tags: ["Datasets"]
---

# Get a dataset

`GET /v2/datasets/{dataset_id}`

Get a dataset object by its ID.

This includes the dataset's versions, sorted by creation date, with
the most recently-created version first.

This endpoint does not include the dataset's examples. To get the examples
of a specific dataset version, use the List Dataset Examples endpoint.

<Note>This endpoint is in beta, read more [here](https://arize.com/docs/ax/rest-reference#api-version-stages).</Note>

## Path parameters

- `dataset_id` string, required — A universally unique identifier (base64-encoded opaque string).

## Response `200`

A dataset object

- Dataset — A dataset is a structured collection of examples used to test and evaluate LLM applications. Datasets allow you to test models consistently across any real-world scenarios and edge cases, quickly identify regressions, and track measurable improvements.
  - `id` string, required — Unique identifier for the dataset
  - `name` string, required — Name of the dataset
  - `space_id` string, required — Unique identifier for the space this dataset belongs to
  - `created_at` string, date-time, required — Timestamp for when the dataset was created
  - `updated_at` string, date-time, required — Timestamp for the last update of the dataset
  - `versions` DatasetVersion[] — List of versions associated with this dataset
    - `id` string, required — Unique identifier for the dataset version
    - `name` string, required — Name of the dataset version
    - `dataset_id` string, required — Unique identifier for the dataset this version belongs to
    - `created_at` string, date-time, required — Timestamp for when the dataset version was created
    - `updated_at` string, date-time, required — Timestamp for the last update of the dataset version

## Other responses

- `400` — Invalid request
- `401` — Authentication is required
- `404` — Not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/arize-ai/apis/arize-rest-api.md) · [All operations](https://skmtc.net/arize-ai/apis/arize-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arize-ai/arize-rest-api/versions/2ce448f1de13/schema)
