---
title: "Delete Testsets"
method: DELETE
path: "/testsets"
tags: ["Testsets"]
---

# Delete Testsets

`DELETE /testsets`

Delete specific testsets based on their unique IDs.

Args:
testset_ids (List[str]): The unique identifiers of the testsets to delete.

Returns:
A list of the deleted testsets' IDs.

## Request body

- DeleteTestsets
  - `testset_ids` string[], required

## Response `200`

Successful Response

- string[]

## Other responses

- `422` — Validation Error

## Changes

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

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