---
title: "List testsets"
method: POST
path: "/api/testsets/list/"
tags: ["testsets"]
---

# List testsets

`POST /api/testsets/list/`

List testsets with pagination and optional filters.

## Query parameters

- `page` integer
- `page_size` integer
- `sort_by` string

## Headers

- `Authorization` string, required

## Request body

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

## Response `200`

Paginated testset list.

- TestsetsListTestsetsResponse200
  - `count` integer, required — Number of testsets returned in this page.
  - `next` string, nullable — URL for the next page, if any.
  - `previous` string, nullable — URL for the previous page, if any.
  - `current_filters` ApiTestsetsListPostResponsesContentApplicationJsonSchemaCurrentFilters — Normalized filters applied to this response.
  - `filters_data` ApiTestsetsListPostResponsesContentApplicationJsonSchemaFiltersData — Available filter definitions for building list queries.
  - `results` ApiTestsetsListPostResponsesContentApplicationJsonSchemaResultsItems[], required — Array of testsets.
    - `id` string, required — Public testset ID.
    - `name` string, required — Testset name.
    - `created_at` string, date-time, required — When the testset was created.
    - `updated_at` string, date-time, required — When the testset was last updated.
    - `current_max_row_index` number, double, required — Highest row index currently present in the testset.
    - `project` string, nullable — Project identifier when the testset is associated with a project.
    - `column_definitions` ApiTestsetsListPostResponsesContentApplicationJsonSchemaResultsItemsColumnDefinitionsItems[] — Configured columns for testset rows.
      - `field` string, required — Canonical field name stored in each row.
      - `mapped_name` string — Optional display or import name for this field.
      - `width` number, double — Optional UI width in pixels.
      - `is_hidden` boolean — Whether this column should be hidden in the UI.
      - `type` 'text' | 'image_url' | 'note' | 'object' — Column value type.

## Other responses

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

---

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