Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt

Use this file to discover all available pages before exploring further.

Get Route Logs

GET /v1/routes/:id/logs
Returns paginated request logs for a specific route, showing every proxied request with status, latency, and geographic data.

Path Parameters

ParameterTypeDescription
iduuidThe route ID

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
per_pageinteger20Items per page (max 100)

Response

{
  "data": [
    {
      "id": "log-uuid",
      "request_id": "req_a1b2c3d4",
      "ts": "2026-03-10T14:22:01.000Z",
      "src_ip": "203.0.113.42",
      "method": "POST",
      "path": "/v1/charges",
      "status_code": 200,
      "latency_ms": 187,
      "upstream_host": "api.stripe.com",
      "error": null,
      "environment": "production",
      "rate_limited": false,
      "signature_valid": true,
      "source_ip_country": "US",
      "source_ip_city": "San Francisco"
    }
  ],
  "meta": {
    "total": 1482,
    "page": 1,
    "per_page": 20,
    "total_pages": 75,
    "request_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Errors

StatusTypeDescription
404not_foundRoute not found