---
title: "Get filtered testsets summary"
method: POST
path: "/api/testsets/summary/"
tags: ["testsets"]
---

# Get filtered testsets summary

`POST /api/testsets/summary/`

Return summary statistics for testsets after applying filters.

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` ApiTestsetsSummaryPostRequestBodyContentApplicationJsonSchemaFilters — Filter criteria using the standard Respan filter format.

## Response `200`

Filtered summary statistics.

- TestsetsGetFilteredTestsetsSummaryResponse200
  - `total_count` integer, required — Total matching testsets.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Missing/invalid authentication

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 2 breaking, 2 info
  - removed the request body
  - removed the required property `total_count` from the response with the `200` status
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/testsets/summary/post.md)

---

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