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 ParametersExpand Collapse
agent_uuids: optional array of string

Agent UUIDs to run the test case against.

run_name: optional string

The name of the run.

test_case_uuid: optional string

Test-case UUID to run

ReturnsExpand Collapse
evaluation_run_uuids: optional array of string
curl https://api.digitalocean.com/v2/gen-ai/evaluation_runs \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
  "evaluation_run_uuids": [
    "example string"
  ]
}
Returns Examples
{
  "evaluation_run_uuids": [
    "example string"
  ]
}