Replay API
Re-run a stored event—often with a tweaked payload—to confirm a fix. This is separate from ingestion.
Contract below is illustrative. Confirm paths and fields in your deployment or from the dashboard.
Modes
safeReplay with a new payload; keep the original event.
exactUse the captured payload as-is.
dry-runSimulate without side effects.
Request & response (example)
Your gateway may differ; use this as a shape reference.
Request sketch
POST /api/v1/events/:id/replay
{
"mode": "safe",
"payload": {
"orderId": "ord_123",
"amount": 49.99,
"paymentMethod": "card_new"
}
}Response sketch
{
"replayId": "replay_xyz789",
"status": "success",
"originalEventId": "evt_abc123",
"executionTime": "856ms",
"comparison": {
"statusCode": { "before": 500, "after": 200 },
"success": true
}
}