Analytics

Query traffic, attack, and player analytics data.

Analytics data is stored in ClickHouse with 90-day retention. All analytics endpoints are scoped to a domain.

Get analytics

GET /domains/:id/analytics

Returns combined traffic and attack data.

ParameterTypeRequiredDescription
start_datestringYesStart date in ISO format (e.g., 2026-01-01)
end_datestringYesEnd date in ISO format
granularitystringNohour, day, or week (defaults to day)

Traffic data

GET /domains/:id/analytics/traffic

Connection counts over time.

Attack data

GET /domains/:id/analytics/attacks

Attack events with type, magnitude, and timestamps.

Player data

GET /domains/:id/analytics/players

Top connecting IPs and player counts.

On this page