dots.v2.genAi.model_evaluation_runs.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.model_evaluation_runs.get(requestConfiguration?: RequestConfiguration<Model_evaluation_runsRequestBuilderGetQueryParameters>): Promise<undefined | ApiListModelEvaluationRunsOutput>Description
To list model evaluation runs, send a GET request to /v2/genai/model_evaluation_runs.
Parameters
evalPresetUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the evaluation preset to filter by.
statusstring optionalFilter by evaluation run status.
pageinteger optionalExample:
1Page number.
perPageinteger optionalExample:
1Items per page.
statusesarray of strings optionalExample:
["MODEL_EVALUATION_RUN_STATUS_UNSPECIFIED"]Filter by one or more statuses. Empty means no status filter.
candidateTypesarray of strings optionalExample:
["CANDIDATE_MODEL_SOURCE_SERVERLESS"]Filter by one or more candidate model source types
(serverless, dedicated, router). Empty means no candidate-type filter.searchstring optionalExample:
example stringFree-text search across the eval run name, candidate model name and
dataset name (case-insensitive substring match). Empty means no search.sortBystring optionalField to sort by. Defaults to creation date when unspecified.
sortDirectionstring optionalSort direction. Defaults to descending when unspecified.
Request Sample
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.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.get({
queryParameters: {
page,
},
});
pages = response?.links?.pages;
}Response Example
More Information
See /v2/gen-ai/model_evaluation_runs in the API reference for additional detail on responses, headers, parameters, and more.