latestOpenAPI 3.0.3Apache-2.0raw.githubusercontent.com2026-08-21252044.5 KB

b29311671936

Traffic Analytics

Get server-wide status-class time series

Per-bucket 2xx/3xx/4xx/5xx request counts across every app/host, zero-filled to a fixed length (see the per-app variant for granularity).

get/api/traffic/series

Query parameters

range'24h' | '7d' | '30d'

Time window and bucket granularity for a series. 24h yields 24 hourly buckets; 7d/30d yield 7/30 daily buckets. Defaults to 24h.

Response

Status-class time series

bucketinteger

Unix-millis start of the bucket

requestsinteger
bytes_ininteger
bytes_outinteger
s2xxinteger
s3xxinteger
s4xxinteger
s5xxinteger
unique_visitorsinteger

Per-bucket approximate distinct client IPs (HyperLogLog++)

p95number float

95th-percentile latency in ms (t-digest estimate)

Example response

[
  {
    "bucket": 1723334400000,
    "requests": 46,
    "bytes_in": 12800,
    "bytes_out": 402000,
    "s2xx": 42,
    "s3xx": 3,
    "s4xx": 1,
    "unique_visitors": 37,
    "p95": 118
  }
]