---
title: "Get server-wide top paths"
method: GET
path: "/api/traffic/paths"
tags: ["Traffic Analytics"]
---

# Get server-wide top paths

`GET /api/traffic/paths`

Busiest request paths across every app on the box, summed over the
range with per-path latency. The same path served by multiple apps is
merged into one entry, giving a correct top-N across all apps rather
than a merge of per-app top-N lists.

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `limit` integer

## Response `200`

Server-wide top paths

- TrafficPath[]
  - `path` string
  - `requests` integer
  - `bytes_out` integer
  - `p50` number, float
  - `p95` number, float

## Other responses

- `400` — Bad request - invalid parameters
- `401` — Unauthorized - missing or invalid authentication token
- `404` — Traffic analytics isn't enabled — the binary lacks the `traffic` Cargo feature, TRAFFIC_ENABLED isn't true, or the analytics database failed to open.
- `500` — Internal server error

---

[API](https://skmtc.net/coollabsio/apis/sentinel-api.md) · [All operations](https://skmtc.net/coollabsio/apis/sentinel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/sentinel-api/revisions/ba1ba2f4b919/schema)
