Get Aggregated Stats
GET /api/sites/{id}/stats
GET
/api/sites/{id}/stats
Returns dashboard KPIs, charts, and breakdown lists.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Query Parameters
Section titled “Query Parameters ” from
string format: date-time
Start timestamp (RFC3339)
to
string format: date-time
End timestamp (RFC3339)
Responses
Section titled “ Responses ”Aggregated statistics
object
live_visitors
Approximate distinct sessions in the last 5 minutes
integer
total_pageviews
integer
unique_sessions
integer
bounce_rate
number format: double
avg_session_duration
In seconds
number format: double
pages_per_session
number format: double
chart_data
Array<object>
object
time
string format: date-time
pageviews
integer
visitors
integer
top_pages
Array<object>
object
name
string
value
integer
top_referrers
Array<object>
object
name
string
value
integer
top_devices
Array<object>
object
name
string
value
integer