---
title: "Run an Evaluation Test Case"
method: POST
path: "/v2/gen-ai/evaluation_runs"
tags: ["DigitalOcean-public.v2-new_GradientAI Platform"]
---

# 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`.

## Request body

- ApiRunEvaluationTestCaseInputPublic — Run an evaluation test case.
  - `agent_uuids` string[] — Agent UUIDs to run the test case against.
  - `run_name` string — The name of the run.
  - `test_case_uuid` string — Test-case UUID to run

## Response `200`

A successful response.

- ApiRunEvaluationTestCaseOutput
  - `evaluation_run_uuids` string[]

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
