> ## 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

> Returns paginated request logs for a specific route

## Get Route Logs

```text theme={"dark"}
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

| Parameter | Type | Description  |
| --------- | ---- | ------------ |
| `id`      | uuid | The route ID |

### Query Parameters

| Parameter  | Type    | Default | Description              |
| ---------- | ------- | ------- | ------------------------ |
| `page`     | integer | `1`     | Page number              |
| `per_page` | integer | `20`    | Items per page (max 100) |

### Response

```json theme={"dark"}
{
  "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

| Status | Type        | Description     |
| ------ | ----------- | --------------- |
| 404    | `not_found` | Route not found |
