Skip to content
  • Auto
  • Light
  • Dark

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

Test-case UUID to run

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