foundry_eval_run_get: Retrieve an evaluation run

View source: R/evals.R

foundry_eval_run_getR Documentation

Retrieve an evaluation run

Description

Retrieve an evaluation run

Usage

foundry_eval_run_get(
  eval_id,
  run_id,
  api_key = NULL,
  token = NULL,
  endpoint = NULL,
  api_version = NULL
)

Arguments

eval_id

Character. Evaluation ID.

run_id

Character. Run ID.

api_key

Character. Optional API key. Falls back to configured auth.

token

Character. Optional bearer token. Falls back to configured auth.

endpoint

Character. Optional endpoint override.

api_version

Character. Optional api-version query value. The Foundry v1 evals surface is path-versioned, so this is usually left NULL.

Value

A one-row tibble describing the run, including aggregate result counts.

Examples

## Not run: 
# Requires a configured Azure endpoint, credentials, and evaluation/run IDs.
foundry_eval_run_get("eval_abc123", "evalrun_xyz")

## End(Not run)

foundryR documentation built on Sept. 25, 2026, 1:10 a.m.