get_session_replay
Read a session replay run to diagnose failed or incorrect experiment replays, returning status, error details, setup and cleanup logs, produced session IDs, and trace IDs.
Instructions
Reads one replay run. Free to call.
Experiment support, for when you need it: to see why an Experiment's replay failed or looks wrong,
read its run. Get the id from a row's session_replay_run_id in get_experiment_run (the row
is the Session the replay produced), or from replay_session. The run has status (CREATED,
STARTED, ENDED or FAILED), error_detail when it failed, setup_logs and cleanup_logs from
the setup and cleanup steps, session_id (the new Session the replay produced), source_session_id
(the Session it replayed), test_case_id (the Dataset test case it was for, if any), and the
trace_ids it produced. Only a FAILED run is retryable, with rerun_failed_experiment
(rerun="replays").
:param pipeline_name: Name of the pipeline.
:param replay_run_id: The replay run's session_replay_run_id.
:returns: The replay run, or an error message.
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>",
"replay_run_id": "<replay_run_id>"
},
"name": "get_session_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_name | Yes | ||
| replay_run_id | Yes |