---
title: "Get Evaluation Dataset"
method: GET
path: "/agents/{agent_id}/datasets/evaluate/{dataset_name}"
tags: ["/agents/{id}/datasets/evaluate"]
---

# Get Evaluation Dataset

`GET /agents/{agent_id}/datasets/evaluate/{dataset_name}`

Stream the raw content of an evaluation `Dataset` version. If no version is specified, the latest version is used.

The `Dataset` content is downloaded in batches. Batch size can be configured to meet specific processing requirements.

Returns a `StreamingResponse`, an asynchronous stream of `Dataset` content with:

 - Content-Type: application/octet-stream

 - Content-Disposition: attachment

 - Chunked transfer encoding

## Path parameters

- `agent_id` string, uuid, required — Agent ID associated with the evaluation dataset
- `dataset_name` string, required — Name of the evaluation dataset to retrieve

## Query parameters

- `version` string — Version number of the evaluation dataset to retrieve. Defaults to the latest version if not specified.
- `batch_size` integer — Batch size for processing

## Response `200`

Dataset file stream

## Other responses

- `422` — Validation Error

## Changes

- **2025-01-15** `4ed32c3243ce` — 2 info
  - api tag `/agents/{id}/datasets/evaluate` added
  - api tag `/agents/{id}/datasets` removed
- **2025-01-14** `448bcb901d30` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/contextualai/apis/endpoints/changes/agents/:agent_id/datasets/evaluate/:dataset_name/get.md)

---

[API](https://skmtc.dev/contextualai/apis/endpoints.md) · [All operations](https://skmtc.dev/contextualai/apis/endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/contextualai/endpoints/revisions/17bdb8a33fb4/schema)
