GET /v1/admin/dashboard
Read the platform administrator dashboard
Description (from the contract)
Requires a live platform session and platform.admin. The calendar window is constructed in timezone, converted to a left-closed, right-open UTC window, and must remain hour aligned and no longer than 31 local calendar days (745 elapsed hours across a fall-back). Every query parameter is required, single-valued, and strict; unknown parameters and tenant_id are rejected.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
range | query | string: seven_days / thirty_days / previous_month | Yes | Platform calendar range in the requested timezone. |
timezone | query | string | Yes | IANA timezone name other than Local. Calendar boundaries converted to UTC must be hour aligned; zones with a non-hour boundary offset are rejected rather than rounded. |
site_id | query | string(uuid) | No | Optional canonical site UUID for ClickHouse drill-down; tenant scope remains session-derived. |
node_id | query | string(uuid) | No | Optional canonical node UUID for ClickHouse drill-down; tenant scope remains session-derived. |
X-Request-ID | header | string | No | Optional safe correlation ID; invalid values are replaced. |
Responses
| Status | Description |
|---|---|
200 | Version 2 platform dashboard snapshot. Fields: |
400 | dashboard_invalid_request |
401 | dashboard_authentication_required |
403 | dashboard_scope_forbidden or dashboard_permission_denied |
408 | dashboard_request_cancelled |
500 | dashboard_internal_error |
502 | dashboard_response_too_large |
503 | dashboard_storage_unavailable; no zero-value data is substituted. |
504 | dashboard_query_timeout |
What to do on failure
400Fix the parameters or body per the field list; do not retry unchanged.401Check the credential format and whether it expired or was rotated.403Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.500Outcome unknown: read back by ID or list first, then decide whether to retry with the original Idempotency-Key.503A dependency is unavailable: retry later with the original Idempotency-Key.