For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTCreate a testset
      • POSTList testsets
      • GETRetrieve a testset
      • PATCHUpdate a testset
      • DELDelete a testset
      • POSTCreate testset rows
      • GETList testset rows
      • PATCHUpdate a testset row
      • DELDelete a testset row
      • POSTGet filtered testsets summary
      • PUTReplace a testset
      • DELDelete testset rows
      • GETRetrieve a testset row
      • PUTReplace a testset row
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceTestsets

Get filtered testsets summary

POST
https://api.respan.ai/api/testsets/summary/
POST
/api/testsets/summary/
$curl -X POST https://api.respan.ai/api/testsets/summary/ \
> -H "Authorization: Bearer <respanApiKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "total_count": 42
3}
Return summary statistics for testsets after applying filters.
Was this page helpful?
Previous

Replace a testset

Next
Built with

Authentication

AuthorizationBearer

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, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.

Request

This endpoint expects an object.
filtersobjectOptional
Filter criteria using the standard Respan filter format.

Response

Filtered summary statistics.
total_countinteger
Total matching testsets.

Errors

400
Bad Request Error
401
Unauthorized Error