Skip to main content
GET
Get SLO Error Budget
string
required
SLO name (e.g., payment-availability)
string
Namespace of the SLO. When omitted, every namespace is searched.
Minimum role: viewer. The response has only spec (no status or resourceMeta) and every field is always present. There is no history, forecast or granularity option.
  • currentValue and errorBudgetRemaining are percentages; errorBudgetTotal is a fraction (1 - target/100) and errorBudgetUsed is the used part in the same unit.
  • burnRate is the controller’s 1-hour burn rate (status.burnRate1h; 1.0 = consuming the budget exactly on schedule). The 6h, 24h and 72h rates are in Get SLO.
  • state is Healthy, AtRisk or Breached (see List SLOs), and empty 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).

Path Parameters

name
string
required

ServiceLevelObjective name.

Example:

"payment-availability"

Query Parameters

namespace
string

Namespace of the object. When omitted, all namespaces are searched and the first object with this name is used.

Response

SLO budget

apiVersion
string
Example:

"v1"

kind
string
Example:

"SLOBudget"

spec
object