Skip to main content
GET
Analytics Summary
string
Start of the window, RFC 3339 (e.g., 2026-03-01T00:00:00Z). An unparseable value is ignored.
string
End of the window, RFC 3339.
Minimum role: viewer. Without from/to, every resource in the cluster is counted. There are no period, namespace or cluster filters: the summary always covers all namespaces of the cluster the operator runs in. What the window applies to:
  • Issues, RemediationPlans and PostMortems are filtered by creationTimestamp.
  • totalRunbooks, totalSLOs, slosAtRisk and pendingApprovals are not time filtered (current totals).
Field notes:
  • openIssues counts every Issue that is not Resolved (including Contained, Escalated and Failed); containedIssues is also counted in openIssues.
  • successfulRemediations are plans in state Completed; failedRemediations are Failed or RolledBack.
  • remediatedIssues is the number of distinct Issues with at least one plan in the window, and resolvedByRemediation how many of those ended Resolved.
  • chaosInducedIssues counts Issues labeled platform.chatcli.io/source: chaos-experiment.
  • pendingApprovals counts ApprovalRequests whose state is Pending or empty.
  • slosAtRisk counts SLOs whose state is AtRisk or Breached, derived from the SLO status as in List SLOs.

Authorizations

X-API-Key
string
header
required

API key sent in the X-API-Key header. Keys are read from the Secret chatcli-operator-secrets, key api-keys (fallback: ConfigMap chatcli-operator-config, key api-keys) in the operator namespace, as a YAML list of {key, role, name, description} (name is the identity recorded on approval decisions); the operator chart creates it only with apiKeys.create: true. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds; deleting both the Secret and the ConfigMap revokes every key. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Query Parameters

from
string<date-time>

Start of the time range (RFC3339). Unparseable values are ignored.

Example:

"2026-03-01T00:00:00Z"

to
string<date-time>

End of the time range (RFC3339). Unparseable values are ignored.

Example:

"2026-03-19T23:59:59Z"

Response

Analytics summary

apiVersion
string
Example:

"v1"

kind
string
Example:

"AnalyticsSummary"

spec
object