Update
Update an Evaluation Test Case.
/v2/gen-ai/evaluation_test_cases/{test_case_uuid}
To update an evaluation test-case send a PUT request to /v2/gen-ai/evaluation_test_cases/{test_case_uuid}.
Path Parameters
test_case_uuid: string
Body Parameters
dataset_uuid: optional string
Dataset against which the test‑case is executed.
description: optional string
Description of the test case.
name: optional string
Name of the test case.
test_case_uuid: optional string
Test-case UUID to update
Returns
test_case_uuid: optional string
version: optional number
The new verson of the test case.
formatint32
Update an Evaluation Test Case.
curl https://api.digitalocean.com/v2/gen-ai/evaluation_test_cases/$TEST_CASE_UUID \
-X PUT \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
"test_case_uuid": "123e4567-e89b-12d3-a456-426614174000",
"version": 123
}Returns Examples
{
"test_case_uuid": "123e4567-e89b-12d3-a456-426614174000",
"version": 123
}