{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create an evaluation test-case send a POST request to `/v2/gen-ai/evaluation_test_cases`.","properties":{"body":{"$ref":"#/definitions/apiCreateEvaluationTestCaseInputPublic"}},"required":[],"additionalProperties":false,"definitions":{"apiCreateEvaluationTestCaseInputPublic":{"properties":{"agent_workspace_name":{"type":"string","examples":["example name"]},"dataset_uuid":{"description":"Dataset against which the test‑case is executed.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"description":{"description":"Description of the test case.","type":"string","examples":["example string"]},"metrics":{"description":"Full metric list to use for evaluation test case.","items":{"type":"string","examples":["example string"]},"type":"array","examples":[["example string"]]},"name":{"description":"Name of the test case.","type":"string","examples":["example name"]},"star_metric":{"$ref":"#/definitions/apiStarMetric"},"workspace_uuid":{"description":"The workspace uuid.","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]}},"type":"object"},"apiStarMetric":{"properties":{"metric_uuid":{"type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"name":{"type":"string","examples":["example name"]},"success_threshold":{"description":"The success threshold for the star metric.\nThis is a value that the metric must reach to be considered successful.","type":"number","examples":[123]},"success_threshold_pct":{"description":"The success threshold for the star metric.\nThis is a percentage value between 0 and 100.","type":"integer","examples":[123]}},"type":"object"}}},"name":"Create Evaluation Test Case.","id":"digitalocean.genai_create_evaluation_test_case","example":{},"maxRequests":1,"summary":false}}