Error
A valid request URL is required to generate request examples{
"tenant_id": "<string>",
"from": "<string>",
"to": "<string>",
"read_at": "<string>",
"items": [
{
"sites": 1,
"pageviews": 1,
"visitors": 1,
"visits": 1,
"bounces": 1,
"totaltime": 1,
"tenant_id": "<string>",
"hour": "<string>",
"band": "primary",
"complete": true
}
]
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}API Reference
Web totals per UTC hour, read live from Umami
Reads Umami’s own /stats for every active site of one tenant, both
bands and every hour of the range, through the control plane’s
Umami service account, and returns the sums per hour and band. Only
aggregates leave the control plane. The current hour is read up to
the moment of the request and has complete: false. Every hour of
the range is present for both bands, zeros included. A key for all
tenants must name tenant; a scoped key reads its own tenant.
GET
/
web
/
hourly
Error
A valid request URL is required to generate request examples{
"tenant_id": "<string>",
"from": "<string>",
"to": "<string>",
"read_at": "<string>",
"items": [
{
"sites": 1,
"pageviews": 1,
"visitors": 1,
"visits": 1,
"bounces": 1,
"totaltime": 1,
"tenant_id": "<string>",
"hour": "<string>",
"band": "primary",
"complete": true
}
]
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_query",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
Query Parameters
Response
Every hour of the range for both bands.