ba1ba2f4b919

latestOpenAPI 3.0.3Apache-2.0raw.githubusercontent.com2026-08-10211632.9 KB
Traffic Analytics

Get server-wide 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.

get/api/traffic/overview

Query parameters

fromstring date-time

Start date in ISO 8601 format (UTC timezone). If not provided, defaults to 1970-01-01T00:00:00Z.

tostring date-time

End date in ISO 8601 format (UTC timezone). If not provided, defaults to current time.

Response

Server-wide traffic overview

requestsinteger
bytes_ininteger
bytes_outinteger
unique_visitorsinteger

Approximate distinct client IPs (HyperLogLog++ estimate, ~1-2% error)

Example response

{
  "requests": 128340,
  "bytes_in": 15200000,
  "bytes_out": 981000000,
  "status": {
    "s2xx": 124000,
    "s3xx": 3200,
    "s4xx": 1100,
    "s5xx": 40
  },
  "latency": {
    "p50": 42,
    "p95": 210.5,
    "p99": 480
  },
  "unique_visitors": 8421
}