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

Delete testset rows

DELETE
https://api.respan.ai/api/testsets/:testset_id/rows/
DELETE
/api/testsets/:testset_id/rows/
$curl -X DELETE https://api.respan.ai/api/testsets/testset_id/rows/ \
> -H "Authorization: Bearer <respanApiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "row_indexes": [
> 3,
> 7,
> 15
> ]
>}'
1{}

Delete multiple rows from a testset by row_index.

Was this page helpful?
Previous

Retrieve a testset row

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.

Path parameters

testset_idstringRequired

The testset ID returned as id by the API.

Request

This endpoint expects an object.
row_indexeslist of doublesRequired
Row indexes to delete.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error