v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
slo

Compute SLO instance summaries in bulk at a point in time

Compute the summary of multiple SLO instances at a given point in time. The endpoint is synchronous and returns results directly. Each result contains either a summary (on success) or a per-instance error. The list of requests is limited to 100 entries. When instanceId is omitted or set to '*', the API returns a result for each matching instance (up to 1000 per SLO). You must have the read privileges for the SLOs feature in the Observability section of the Kibana feature privileges.

post/s/{spaceId}/api/observability/slos/_bulk_snapshot

Path parameters

spaceIdstring required
Example:default

An identifier for the space. If /s/ and the identifier are omitted from the path, the default space is used.

Headers

kbn-xsrfstring required

Cross-site request forgery protection

Request body

atstring date-time required

The point in time at which to compute the SLO instance summaries

Example request

{
  "at": "2025-01-12T10:00:00.000Z",
  "requests": [
    {
      "id": "8853df00-ae2e-11ed-90af-09bb6422b258",
      "instanceId": "*"
    }
  ]
}

Response

Successful response

atstring date-time required

The point in time at which the summaries were computed

Example response

{
  "at": "2025-01-12T10:00:00.000Z",
  "results": [
    {
      "error": {
        "message": "SLO [8853df00-ae2e-11ed-90af-09bb6422b258] not found",
        "statusCode": 404
      },
      "id": "8853df00-ae2e-11ed-90af-09bb6422b258",
      "instanceId": "*",
      "summary": {
        "errorBudget": {
          "consumed": 0.24,
          "initial": 0.01,
          "remaining": 0.76
        },
        "good": 9976,
        "sliValue": 0.9976,
        "status": "HEALTHY",
        "total": 10000
      }
    }
  ]
}