4e064cf81dae

latestOpenAPI 3.1.02026-08-131831,331960.0 KB
testsets

Update a testset

Partially update testset metadata such as the name, description, starred state, or column definitions.

patch/api/testsets/{testset_id}/

Path parameters

testset_idstring required

The testset ID returned as id by the API.

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

namestring

Testset name.

descriptionstring

Optional description stored with the testset.

starredboolean

Whether to star the testset in the UI.

Response

Updated testset.

idstring required

Public testset ID.

namestring required

Testset name.

created_atstring date-time required

When the testset was created.

updated_atstring date-time required

When the testset was last updated.

current_max_row_indexnumber double required

Highest row index currently present in the testset.

projectstring nullable

Project identifier when the testset is associated with a project.

descriptionstring

Testset description.