v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_GradientAI Platform

Run an Evaluation Test Case

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

post/v2/gen-ai/evaluation_runs

Request body

agent_uuidsstring[]

Agent UUIDs to run the test case against.

run_namestring

The name of the run.

test_case_uuidstring

Test-case UUID to run

Example request

{
  "agent_uuids": [
    "example string"
  ],
  "run_name": "Evaluation Run Name",
  "test_case_uuid": "\"12345678-1234-1234-1234-123456789012\""
}

Response

A successful response.

evaluation_run_uuidsstring[]

Example response

{
  "evaluation_run_uuids": [
    "example string"
  ]
}