---
title: "Get Single Testset"
method: GET
path: "/testsets/{testset_id}"
tags: ["Testsets"]
---

# Get Single Testset

`GET /testsets/{testset_id}`

Fetch a specific testset in Postgres.

Args:
    testset_id (str): The id of the testset to fetch.

Returns:
    The requested testset if found, else an HTTPException.

## Path parameters

- `testset_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2025-06-27** `e3e84db47198` — 1 breaking, 4 warning, 2 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `count` from the response with the `200` status
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
  - …3 more

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/testsets/:testset_id/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)
