dots.v2.genAi.model_evaluation_runs.byEval_run_uuid().get()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.genAi.model_evaluation_runs.byEval_run_uuid(eval_run_uuid).get(requestConfiguration?: RequestConfiguration<WithEval_run_uuItemRequestBuilderGetQueryParameters>): Promise<undefined | ApiGetModelEvaluationRunOutput>

Description

To retrieve a model evaluation run, send a GET request to /v2/genai/model_evaluation_runs/{eval_run_uuid}.

Parameters

Path Parameters

eval_run_uuid string required

Example: "123e4567-e89b-12d3-a456-426614174000"

UUID of the evaluation run.

Query Parameters

page integer optional

Example: 1

Page number for per-prompt results (defaults to 1).

perPage integer optional

Example: 1

Number of per-prompt results per page (defaults to 50).

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.genAi.model_evaluation_runs
    .byEval_run_uuid("\"123e4567-e89b-12d3-a456-426614174000\"").get();

Pagination

This method returns paginated results. The response includes a links.pages object with URLs for navigating between pages. To retrieve the next page, parse the next URL and pass the page query parameter:

let response = await client.v2.genAi.model_evaluation_runs
    .byEval_run_uuid("\"123e4567-e89b-12d3-a456-426614174000\"").get();
let pages = response?.links?.pages;

while (pages && "next" in pages && typeof pages.next === "string") {
    const page = Number(new URL(pages.next).searchParams.get("page"));
    response = await client.v2.genAi.model_evaluation_runs
        .byEval_run_uuid("\"123e4567-e89b-12d3-a456-426614174000\"").get({
        queryParameters: {
            page,
        },
    });
    pages = response?.links?.pages;
}

Response Example

Show Response Example
{
  "links": {
    "pages": {
      "first": "example string",
      "last": "example string",
      "next": "example string",
      "previous": "example string"
    }
  },
  "meta": {
    "page": 123,
    "pages": 123,
    "total": 123
  },
  "results": [
    {
      "candidate_model_name": "example name",
      "candidate_model_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "candidate_routed_task": "Coding & brainstorming",
      "epoch": 1,
      "ground_truth": "example string",
      "input": "example string",
      "metric_results": [],
      "output": "example string",
      "row_number": 1
    }
  ],
  "run": {
    "candidate_inference_config": {
      "reasoning_effort": "low",
      "stop_token": "example string",
      "system_prompt": "example string",
      "temperature": 123
    },
    "candidate_model_name": "example name",
    "candidate_model_source": "CANDIDATE_MODEL_SOURCE_SERVERLESS",
    "candidate_model_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "completed_at": "2023-01-01T00:00:00Z",
    "created_at": "2023-01-01T00:00:00Z",
    "dataset_name": "example name",
    "dataset_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "epochs": 1,
    "error_description": "example string",
    "eval_preset_name": "example name",
    "eval_preset_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "eval_run_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "judge_model_name": "example name",
    "judge_model_uuid": "123e4567-e89b-12d3-a456-426614174000",
    "metrics": [],
    "name": "example name",
    "progress": {
      "candidate_rows_evaluated": 100,
      "judge_rows_evaluated": 95,
      "total_rows": 100
    },
    "result_summary": {
      "end_time": "2023-01-01T00:00:00Z",
      "epochs": 1,
      "metric_summaries": [],
      "overall_score_percent": 123,
      "start_time": "2023-01-01T00:00:00Z",
      "total_duration_seconds": 123
    },
    "star_metric": {
      "metric_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "example name",
      "success_threshold": 123,
      "success_threshold_pct": 123
    },
    "started_at": "2023-01-01T00:00:00Z",
    "status": "MODEL_EVALUATION_RUN_STATUS_UNSPECIFIED"
  }
}

More Information

See /v2/gen-ai/model_evaluation_runs/{eval_run_uuid} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.