Skip to main content
GET
/
api
/
v1
/
slos
/
{name}
/
budget
Get SLO Error Budget
curl --request GET \
  --url https://api.example.com/api/v1/slos/{name}/budget
{
  "apiVersion": "v1",
  "kind": "SLOBudget",
  "metadata": {
    "name": "slo-payment-availability",
    "namespace": "production"
  },
  "budget": {
    "target": 99.95,
    "window": "30d",
    "totalMinutes": 43200,
    "allowedDowntimeMinutes": 21.6,
    "consumedDowntimeMinutes": 14.7,
    "remainingDowntimeMinutes": 6.9,
    "remainingPercent": 32.0,
    "burnRate": {
      "current1h": 2.1,
      "current6h": 1.8,
      "current24h": 1.2
    },
    "forecast": {
      "exhaustionDate": "2026-03-25T08:00:00Z",
      "daysRemaining": 5.7,
      "trend": "deteriorating"
    },
    "history": [
      {
        "date": "2026-03-19",
        "consumed": 1.2,
        "cumulative": 14.7,
        "remainingPercent": 32.0
      },
      {
        "date": "2026-03-18",
        "consumed": 0.5,
        "cumulative": 13.5,
        "remainingPercent": 37.5
      },
      {
        "date": "2026-03-17",
        "consumed": 0.1,
        "cumulative": 13.0,
        "remainingPercent": 39.8
      }
    ]
  }
}
name
string
required
Unique SLO name (e.g., slo-payment-availability)
granularity
string
default:"daily"
History granularity: hourly, daily, weekly
{
  "apiVersion": "v1",
  "kind": "SLOBudget",
  "metadata": {
    "name": "slo-payment-availability",
    "namespace": "production"
  },
  "budget": {
    "target": 99.95,
    "window": "30d",
    "totalMinutes": 43200,
    "allowedDowntimeMinutes": 21.6,
    "consumedDowntimeMinutes": 14.7,
    "remainingDowntimeMinutes": 6.9,
    "remainingPercent": 32.0,
    "burnRate": {
      "current1h": 2.1,
      "current6h": 1.8,
      "current24h": 1.2
    },
    "forecast": {
      "exhaustionDate": "2026-03-25T08:00:00Z",
      "daysRemaining": 5.7,
      "trend": "deteriorating"
    },
    "history": [
      {
        "date": "2026-03-19",
        "consumed": 1.2,
        "cumulative": 14.7,
        "remainingPercent": 32.0
      },
      {
        "date": "2026-03-18",
        "consumed": 0.5,
        "cumulative": 13.5,
        "remainingPercent": 37.5
      },
      {
        "date": "2026-03-17",
        "consumed": 0.1,
        "cumulative": 13.0,
        "remainingPercent": 39.8
      }
    ]
  }
}