v2

latestOpenAPI 3.0.3MIT2026-07-26644258.0 KB
Agent Sandbox

Diff two trajectories

Aligns both call lists by position and reports the first divergence index plus per-call deltas on path, status, and response body hash. Two runs at the same seed and world version should be identical; a diff shows exactly where an agent's behaviour changed.

get/agent/v1/trajectories/{a}/diff/{b}

Path parameters

astring required
bstring required

Response

{ identical, divergence_index, compared_calls, deltas[] }