get_experiment_run
Retrieve a scoring run report to inspect cell outcomes, per-metric summaries, and grid rows, with filters for session origin, deployment, or pipeline version.
Instructions
Reads one scoring run: how its cells ended, a summary per Metric, then the grid rows.
A scoring run is a Metric Group judging chosen Sessions of one pipeline. Find one with
list_metric_groups (last_run) or list_experiments (a side's scoring_runs).
It judges each chosen Session with each Evaluator; one cell per pair. counts says how
the cells ended: errored is the Evaluator's own code breaking (see the cell's
error_detail), not a low Metric; failed is a cell that never ran and can be retried.
metrics summarises each Evaluator's Metric over every row, rows past max_rows
included: mean, min and max for a Score, a count per label for a Label, and how often it did
not apply. Each row is a Session with its cells; a cell's metrics carry the value per
address (session, turn/2, ...) and the rationale the Evaluator wrote, which is what to
group failures by. run.selection says whether the Sessions were SAMPLED or HAND_PICKED;
only sampled runs say anything about traffic as a whole. composite is the Metric Group's
single number for the run, 0 to 1 with 1 best, from normalized_means (each Metric on that
scale) weighted by run.composite_weights, the formula the run started with. When it has
no value it says reason and lists the Metrics that block it in missing.
aggregate is the API's whole-run result per Metric: how its Sessions fell out (valued,
errored, failed, pending, ...), coverage and the Metric's mean or label
shares, in the units it declares; it is null until the run ends. usage is what the
pipeline spent on the run's Sessions (tokens, duration, cost in USD, null unless
cost_status is priced). evaluator_versions says which version of each Evaluator
judged and what its Metrics declare. The filters keep only the cells whose Session's origin,
Service or pipeline version match (a cell still running has no origin and matches none):
they narrow counts, rows and metrics, but not aggregate, usage,
normalized_means or composite, which stay whole-run.
:param pipeline_name: Name of the pipeline.
:param metric_group_id: The id of the Metric Group the run scored with.
:param run_id: The run's id.
:param max_rows: Most rows to return; the summaries still cover every row.
:param origin: Only cells whose Session came from a Service, the pipeline's own API, or the Playground.
:param deployment_id: Only cells whose Session this Service served.
:param pipeline_version_id: Only cells whose Session this pipeline version served.
:param session_id: Only this Session's row.
:returns: The run report, or an error message.
The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pipeline_name": "<pipeline_name>",
"metric_group_id": "<metric_group_id>",
"run_id": "<run_id>"
},
"name": "get_experiment_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| run_id | Yes | ||
| max_rows | No | ||
| session_id | No | ||
| deployment_id | No | ||
| pipeline_name | Yes | ||
| metric_group_id | Yes | ||
| pipeline_version_id | No |