---
title: "Get Testsets"
method: GET
path: "/testsets"
tags: ["Testsets"]
---

# Get Testsets

`GET /testsets`

Get all testsets.

Returns:
- A list of testset objects.

Raises:
- `HTTPException` with status code 404 if no testsets are found.

## Response `200`

Successful Response

- TestSetOutputResponse[]
  - `_id` string, required
  - `name` string, required
  - `created_at` string, required
  - `updated_at` string, required

## Changes

- **2025-06-27** `e3e84db47198` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/testsets/get.md)

---

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