Skip to content

Create

Run an Evaluation Test Case
post/v2/gen-ai/evaluation_runs

To run an evaluation test case, send a POST request to /v2/gen-ai/evaluation_runs.

Body Parameters
agent_uuidsarray of string
optional

Agent UUIDs to run the test case against.

run_namestring
optional

The name of the run.

test_case_uuidstring
optional
Returns
evaluation_run_uuidsarray of string
optional
Request example cURL
curl https://api.digitalocean.com//v2/gen-ai/evaluation_runs \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $GRADIENTAI_API_KEY" \
    -d '{}'
200 Example
{
  "evaluation_run_uuids": [
    "string"
  ]
}