---
title: pydo.genai.get_evaluation_test_case()
description: Retrieve Information About an Existing Evaluation Test Case
product: Reference
url: https://docs.digitalocean.com/reference/pydo/reference/genai/get_evaluation_test_case/
last_updated: "2026-11-06"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# pydo.genai.get_evaluation_test_case()

Generated on 6 Nov 2026 from `pydo` version [`v0.45.0`](https://github.com/digitalocean/pydo/releases/tag/v0.45.0)

## Usage

```python
client.genai.get_evaluation_test_case(
    test_case_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
    evaluation_test_case_version=None,
)
```

Returns `JSON` Raises `HttpResponseError`

## Description

To retrive information about an existing evaluation test case, send a GET request to `/v2/gen-ai/evaluation_test_case/{test_case_uuid}`.

## Parameters

`test_case_uuid` string required

The test case uuid to retrieve.

`evaluation_test_case_version` integer optional

Version of the test case.

## Response Example

## Show Response Example

```json
{
  "evaluation_test_case": {
    "archived_at": "2023-01-01T00:00:00Z",
    "created_at": "2023-01-01T00:00:00Z",
    "created_by_user_email": "example@example.com",
    "created_by_user_id": "12345",
    "dataset": {
      "created_at": "2023-01-01T00:00:00Z",
      "dataset_name": "example name",
      "dataset_paradigm": "EVALUATION_DATASET_PARADIGM_SINGLE_TURN",
      "dataset_type": "EVALUATION_DATASET_TYPE_UNKNOWN",
      "dataset_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "file_size": "12345",
      "has_ground_truth": true,
      "row_count": 123
    },
    "dataset_name": "example name",
    "dataset_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "description": "example string",
    "latest_version_number_of_runs": 123,
    "metrics": [],
    "name": "example name",
    "star_metric": {
      "metric_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "example name",
      "success_threshold": 123,
      "success_threshold_pct": 123
    },
    "test_case_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "total_runs": 123,
    "updated_at": "2023-01-01T00:00:00Z",
    "updated_by_user_email": "example@example.com",
    "updated_by_user_id": "12345",
    "version": 123
  }
}
```

## More Information

See [`/v2/gen-ai/evaluation_test_cases/{test_case_uuid}`](https://docs.digitalocean.com/reference/api/reference/agent-platform-api/index.html.md#genai_get_evaluation_test_case) in the API reference for additional detail on responses, headers, parameters, and more.