Skip to main content
GET
List SLOs
string
Filter by Kubernetes namespace. Omit it to list every namespace.
integer
default:"1"
Page number
integer
default:"20"
Items per page (maximum 100)
Minimum role: viewer. There are no service or status filters: the list is filtered only by namespace and paginated. Field notes:
  • sli is spec.indicator.type (availability, latency, error_rate or throughput); target and window come from spec.target.percentage and spec.target.window.
  • currentValue and errorBudgetRemaining are converted to percent (the CRD stores them as fractions); errorBudgetTotal is returned as stored, a fraction (1 - target/100).
  • errorBudgetUsed is the used part of the budget in the same unit as errorBudgetTotal (errorBudgetTotal × status.errorBudgetConsumedPercentage / 100).
  • burnRate1h, burnRate6h, burnRate24h and burnRate72h are the controller’s multi-window burn rates (1.0 = consuming the budget exactly on schedule); activeAlerts is the number of burn-rate alerts firing.
  • state is derived from the status the controller writes: Breached when the target is missed or the error budget is gone, AtRisk while a burn-rate alert fires, Healthy otherwise. It is omitted before the controller’s first calculation.

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

namespace
string

Kubernetes namespace. Empty means all namespaces.

page
integer
default:1

Page number (1-based). Invalid values fall back to 1.

Required range: x >= 1
pageSize
integer
default:20

Items per page. Values above 100 are capped at 100.

Required range: 1 <= x <= 100

Response

Paginated list of SLOs

apiVersion
string
Example:

"v1"

kind
string
Example:

"ServiceLevelObjectiveList"

metadata
object
items
object[]