---
title: "Get examples from a dataset"
method: GET
path: "/v1/datasets/{id}/examples"
tags: ["datasets"]
---

# Get examples from a dataset

`GET /v1/datasets/{id}/examples`

## Path parameters

- `id` string, required — The ID of the dataset

## Query parameters

- `version_id` string, nullable — The ID of the dataset version (if omitted, returns data from the latest version)
- `split` string[], nullable — List of dataset split identifiers (GlobalIDs or names) to filter by

## Response `200`

Successful Response

- ListDatasetExamplesResponseBody
  - `data` ListDatasetExamplesData, required
    - `dataset_id` string, required
    - `version_id` string, required
    - `filtered_splits` string[]
    - `examples` DatasetExample[], required
      - `id` string, required
      - `node_id` string, required
      - `input` object, required
      - `output` object, required
      - `metadata` object, required
      - `updated_at` string, date-time, required
      - `source` DatasetExampleSource
        - `span_id` string, required
        - `span_node_id` string, required

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error

## Changes

- **2026-07-23** `9be0bb4dbefc` — 1 info
  - added the optional property `data/examples/items/source` to the response with the `200` status
- **2026-04-29** `02361ac1935f` — 1 info
  - added the required property `data/examples/items/node_id` to the response with the `200` status
- **2026-04-29** `c81391216eb5` — 1 breaking
  - removed the required property `data/examples/items/node_id` from the response with the `200` status

[Change history](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api/changes/v1/datasets/:id/examples/get.md)

---

[API](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api.md) · [All operations](https://skmtc.dev/arize-ai/apis/arize-phoenix-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arize-ai/arize-phoenix-rest-api/revisions/9be0bb4dbefc/schema)
