dots.v2.genAi.evaluation_test_cases.byEvaluation_test_case_uuId().put()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.evaluation_test_cases.byEvaluation_test_case_uuId(evaluation_test_case_uuId).put(body: ApiUpdateEvaluationTestCaseInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUpdateEvaluationTestCaseOutput>Description
To update an evaluation test-case send a PUT request to /v2/gen-ai/evaluation_test_cases/{test_case_uuid}.
Parameters
Path Parameters
evaluation_test_case_uuIdstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"Test-case UUID to update
Request Body
datasetUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Dataset against which the test‑case is executed.
descriptionstring optionalExample:
example stringDescription of the test case.
metricsobject optionalShow child properties
metricUuidsarray of strings optionalExample:
["example string"]
namestring optionalExample:
example nameName of the test case.
starMetricobject optionalShow child properties
metricUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000namestring optionalExample:
example namesuccessThresholdnumber optionalExample:
123The success threshold for the star metric.
This is a value that the metric must reach to be considered successful.successThresholdPctinteger optionalExample:
123The success threshold for the star metric.
This is a percentage value between 0 and 100.
testCaseUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Test-case UUID to update
Request Sample
Response Example
More Information
See /v2/gen-ai/evaluation_test_cases/{test_case_uuid} in the API reference for additional detail on responses, headers, parameters, and more.