Replay testing API reference
POST /replay/capture
{ "name": "Pre-prompt-change", "filters": { "service": "chat-api", "timeRange": "24h", "sampleSize": 100 } }
POST /replay/run
{ "replayId": "replay_001", "mode": "production" }
GET /replay/:id/diff
{ "replayId": "replay_001", "totalTraces": 100, "comparisons": [{ "traceId": "trace_001", "similarity": 0.95, "costDiff": 0.002 }] }