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

## Changes

- **2025-10-16** `cb3bf9b21459` — 2 info
  - api tag `DigitalOcean-public.v2-new_GradientAI Platform` added
  - api tag `GradientAI Platform` removed
- **2025-07-18** `f8e8c290636c` — 9 info
  - api operation id `run_evaluation_test_case` removed and replaced with `genai_run_evaluation_test_case`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - …5 more
- **2025-07-17** `5fc9af728e82` — 1 breaking, 3 warning, 8 info
  - request body became required
  - the optional response header `ratelimit-limit` removed for the status `200`
  - the optional response header `ratelimit-remaining` removed for the status `200`
  - the optional response header `ratelimit-reset` removed for the status `200`
  - …8 more
- **2025-07-17** `f8e8c290636c` — 9 info
  - api operation id `run_evaluation_test_case` removed and replaced with `genai_run_evaluation_test_case`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - …5 more
- **2025-06-25** `e8b3cbc80e18` — 2 warning, 2 info
  - removed the request property `agent_uuid`
  - removed the optional property `evaluation_run_uuid` from the response with the `200` status
  - added the new optional request property `agent_uuids`
  - added the optional property `evaluation_run_uuids` to the response with the `200` status

[Change history](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/gen-ai/evaluation_runs/post.md)

---

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