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

# Get server-wide traffic overview

`GET /api/traffic/overview`

Request/bandwidth totals, status-class counts, latency percentiles,
and estimated unique visitors merged across every app and host on the
box. Sketches (t-digest, HyperLogLog) are merged server-side, so the
percentiles and visitor estimate are a true cross-app merge, not a sum
of per-app estimates. Same shape as the per-app overview.

## Query parameters

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

## Response `200`

Server-wide traffic overview

- TrafficOverview
  - `requests` integer
  - `bytes_in` integer
  - `bytes_out` integer
  - `status` TrafficStatusBreakdown
    - `s2xx` integer
    - `s3xx` integer
    - `s4xx` integer
    - `s5xx` integer
  - `latency` TrafficLatency — Approximate latency quantiles in milliseconds (t-digest estimate). 0.0 on every field when the range holds no decodable latency sketch.
    - `p50` number, float
    - `p95` number, float
    - `p99` number, float
  - `unique_visitors` integer — Approximate distinct client IPs (HyperLogLog++ estimate, ~1-2% error)

## 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/fe71cb07ae78/schema)
