Skip to navigation

Compare traces

Structural diff of two executions (tool-sequence alignment, first divergence, per-side totals, shallow argument drift) or of two cohorts given as query filter sets (tool usage, stop reasons and signal rates over at most 50 sampled runs per side).

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
leftobjectRequired
rightobjectRequired
fromstringOptional
sampleSizeintegerOptional1-50
tostringOptional

Response

Comparison
dataobject
successboolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error