Dashboard analytics snapshot
http
GET /api/v1/analytics/overviewCounts and usage of runs accepted during [from,to), the same totals per namespace, plus current active sessions. All timestamps are UTC.
operationId: get_analytics_overview
Authentication
HTTPBearer / BrowserSession
See browser access. Session mutations require a Bearer key.
Parameters
| Name | In | Required | Type | Description and constraints |
|---|---|---|---|---|
window | query | No | string | Server-relative sliding window. Defaults to 24h; cannot be combined with from/to. enum: ["24h","7d","30d"] |
from | query | No | string | Inclusive RFC 3339 timestamp with offset; requires to. format: "date-time" |
to | query | No | string | Exclusive RFC 3339 timestamp with offset; requires from and cannot be later than as_of. Range at most 31 days. format: "date-time" |
bucket | query | No | string | Local calendar hour or day; at most 800 buckets. enum: ["hour","day"]default: "hour" |
timezone | query | No | string | IANA timezone for bucket boundaries; timestamps in the response are UTC. default: "UTC" |
namespace | query | No | string | Exact namespace match; omission includes every namespace and null. minLength: 1maxLength: 128 |
Responses
| Code | Description | Content |
|---|---|---|
| 200 | Analytics snapshot | application/json: AnalyticsOverview |
| 401 | Unauthorized | application/json: ErrorResponse |
| 422 | Invalid query | application/json: ErrorResponse |
| 503 | Analytics unavailable or overflow | application/json: ErrorResponse |