Create
Create Evaluation Test Case.
/v2/gen-ai/evaluation_test_cases
To create an evaluation test-case send a POST request to /v2/gen-ai/evaluation_test_cases.
Body Parameters
dataset_uuid: optional string
Dataset against which the test‑case is executed.
description: optional string
Description of the test case.
metrics: optional array of string
Full metric list to use for evaluation test case.
name: optional string
Name of the test case.
workspace_uuid: optional string
The workspace uuid.
Returns
test_case_uuid: optional string
Test‑case UUID.
Create Evaluation Test Case.
curl https://api.digitalocean.com/v2/gen-ai/evaluation_test_cases \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
"test_case_uuid": "123e4567-e89b-12d3-a456-426614174000"
}Returns Examples
{
"test_case_uuid": "123e4567-e89b-12d3-a456-426614174000"
}