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

---

[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)
