DocsAPI ReferenceInspection

Inspection

View and replay captured HTTP requests.

List captured requests

code
GET /api/v1/tunnels/:tunnelUrl/requests

Response (200):

json
[
  {
    "id": "a1b2c3d4",
    "method": "POST",
    "path": "/api/webhook",
    "status_code": 200,
    "duration_ms": 12,
    "request_headers": { "Content-Type": "application/json" },
    "response_headers": { "Content-Type": "application/json" },
    "request_size": 256,
    "response_size": 128,
    "remote_addr": "1.2.3.4:54321",
    "timestamp": "2026-03-29T12:00:00Z"
  }
]

Replay a request

code
POST /api/v1/tunnels/:tunnelUrl/replay/:requestId

Re-sends the captured request through the tunnel and returns the new response.

Live traffic (WebSocket)

code
WS /api/v1/ws/traffic/:tunnelUrl

Each message is a JSON-encoded captured request, streamed in real-time.

Note: Captured requests are stored in memory and are lost when the server restarts.