v53

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

Compute an SLO instance summary at a point in time

Compute the summary of an SLO at a given point in time. When instanceId is provided, returns that instance. When instanceId is omitted or set to '*', returns all matching instances (up to 1000). The endpoint is synchronous and returns results directly. You must have the read privileges for the SLOs feature in the Observability section of the Kibana feature privileges.

get/s/{spaceId}/api/observability/slos/{sloId}/_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.

sloIdstring required
Example:9c235211-6834-11ea-a78c-6feb38a34414

An identifier for the slo.

Query parameters

atstring date-time required
Example:2025-01-12T10:00:00.000Z

The point in time at which to compute the SLO instance summary (ISO 8601 date-time)

instanceIdstring
Example:*

The SLO instance ID. Omit this parameter or set it to '*' to return all instances for the SLO (up to 1000). Set a specific value (for example host.name:web-01) to return that instance only.

Headers

kbn-xsrfstring required

Cross-site request forgery protection

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
      }
    }
  ]
}