---
title: "List Evaluation Test Cases"
method: GET
path: "/v2/gen-ai/evaluation_test_cases"
tags: ["DigitalOcean-public.v2-new_GradientAI Platform"]
---

# List Evaluation Test Cases

`GET /v2/gen-ai/evaluation_test_cases`

To list all evaluation test cases, send a GET request to `/v2/gen-ai/evaluation_test_cases`.

## Response `200`

A successful response.

- ApiListEvaluationTestCasesOutput
  - `evaluation_test_cases` ApiEvaluationTestCase[] — Alternative way of authentication for internal usage only - should not be exposed to public api
    - `archived_at` string, date-time
    - `created_at` string, date-time
    - `created_by_user_email` string
    - `created_by_user_id` string, uint64
    - `dataset` ApiEvaluationDataset
      - `created_at` string, date-time — Time created at.
      - `dataset_name` string — Name of the dataset.
      - `dataset_uuid` string — UUID of the dataset.
      - `file_size` string, uint64 — The size of the dataset uploaded file in bytes.
      - `has_ground_truth` boolean — Does the dataset have a ground truth column?
      - `row_count` integer — Number of rows in the dataset.
    - `dataset_name` string
    - `dataset_uuid` string
    - `description` string
    - `latest_version_number_of_runs` integer
    - `metrics` ApiEvaluationMetric[]
      - `description` string
      - `inverted` boolean — If true, the metric is inverted, meaning that a lower value is better.
      - `metric_name` string
      - `metric_type` 'METRIC_TYPE_UNSPECIFIED' | 'METRIC_TYPE_GENERAL_QUALITY' | 'METRIC_TYPE_RAG_AND_TOOL'
      - `metric_uuid` string
      - `metric_value_type` 'METRIC_VALUE_TYPE_UNSPECIFIED' | 'METRIC_VALUE_TYPE_NUMBER' | 'METRIC_VALUE_TYPE_STRING' | 'METRIC_VALUE_TYPE_PERCENTAGE'
      - `range_max` number, float — The maximum value for the metric.
      - `range_min` number, float — The minimum value for the metric.
    - `name` string
    - `star_metric` ApiStarMetric
      - `metric_uuid` string
      - `name` string
      - `success_threshold` number, float — The success threshold for the star metric. This is a value that the metric must reach to be considered successful.
      - `success_threshold_pct` integer — The success threshold for the star metric. This is a percentage value between 0 and 100.
    - `test_case_uuid` string
    - `total_runs` integer
    - `updated_at` string, date-time
    - `updated_by_user_email` string
    - `updated_by_user_id` string, uint64
    - `version` integer

## 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` — 1 warning, 13 info
  - added the new `METRIC_VALUE_TYPE_PERCENTAGE` enum value to the `evaluation_test_cases/items/metrics/items/metric_value_type` response property for the response status `200`
  - api operation id `list_evaluation_test_cases` removed and replaced with `genai_list_evaluation_test_cases`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - …10 more
- **2025-07-17** `5fc9af728e82` — 8 warning, 9 info
  - 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`
  - removed the optional property `evaluation_test_cases/items/dataset` from the response with the `200` status
  - …13 more
- **2025-07-17** `f8e8c290636c` — 1 warning, 13 info
  - added the new `METRIC_VALUE_TYPE_PERCENTAGE` enum value to the `evaluation_test_cases/items/metrics/items/metric_value_type` response property for the response status `200`
  - api operation id `list_evaluation_test_cases` removed and replaced with `genai_list_evaluation_test_cases`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - …10 more

[Change history](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/gen-ai/evaluation_test_cases/get.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)
