get_experiment
Read one experiment to see its test cases, each side's replay/scoring status, run counts, and errors—useful for tracking progress after creation, updates, or reruns and diagnosing failures.
Instructions
Reads one Experiment: its test cases and how far each side has got. Free to call.
Use it to follow an Experiment after create_experiment, update_experiment or a rerun,
and to see why a side failed. status and each side's status go REPLAYING, SCORING, then
ENDED or FAILED. Per side: run_counts (replays by status, failed ones can be replayed
again), scoring_counts (evaluations; failed and errored ones can be judged again),
error (why it could not be scored) and experiment_run_id (the scoring run, for
get_experiment_run). The Sessions each side scored are not included; they are per test case
in get_experiment_results. To retry what failed use rerun_failed_experiment; to see why one
replay failed, read it with get_session_replay (its id is on the Session's row in get_experiment_run).
:param experiment_id: The Experiment's id, from list_experiments.
:returns: The Experiment, 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| experiment_id | Yes |