---
title: "Fetch Simple Testset To File"
method: POST
path: "/simple/testsets/{testset_id}/download"
tags: ["Testsets"]
---

# Fetch Simple Testset To File

`POST /simple/testsets/{testset_id}/download`

## Path parameters

- `testset_id` string, uuid, required

## Query parameters

- `file_type` 'csv' | 'json', nullable
- `file_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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