4e064cf81dae

latestOpenAPI 3.1.02026-08-131831,331960.0 KB
testsets

List testsets

List testsets with pagination and optional filters.

post/api/testsets/list/

Query parameters

pageinteger

Page number.

page_sizeinteger

Number of results to return per page. Maximum 100.

sort_bystring

Sort field. Common values include -created_at, name, and updated_at.

Headers

Authorizationstring required

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Request body

filtersApiTestsetsListPostRequestBodyContentApplicationJsonSchemaFilters

Filter criteria using the standard Respan filter format.

Response

Paginated testset list.

countinteger required

Number of testsets returned in this page.

nextstring nullable

URL for the next page, if any.

previousstring nullable

URL for the previous page, if any.

current_filtersApiTestsetsListPostResponsesContentApplicationJsonSchemaCurrentFilters

Normalized filters applied to this response.

filters_dataApiTestsetsListPostResponsesContentApplicationJsonSchemaFiltersData

Available filter definitions for building list queries.