Skip to main content
DELETE
/
v4
/
evaluation-datasets
/
{evaluation_dataset_id}
/
test-cases
/
{test_case_id}
/
history
Python
import os
from scale_gp import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
generic_delete_response = client.evaluation_datasets.test_cases.history.delete(
    test_case_id="test_case_id",
    evaluation_dataset_id="evaluation_dataset_id",
)
print(generic_delete_response.count)
{
  "success": true,
  "count": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

evaluation_dataset_id
string
required
test_case_id
string
required

Response

Successful Response

success
boolean
required
count
integer
required