Skip to main content

run_trace

Function run_trace 

Source
pub async fn run_trace(
    __arg0: State<AppState>,
    __arg1: Path<String>,
    __arg2: Query<RunTraceQuery>,
) -> Result<Json<RunTraceResponse>, ApiError>
Expand description

GET /v1/runs/:id/trace?after=&limit=&latest=&kind=&step=&attempt= — the Run’s TraceEvent stream (the RunTrace rail). Note the trace rail is deliberately uncoupled from RunStore (a trace can outlive or precede its Run row), so an unknown Run id returns an empty list, not 404.