Elastic Stack (ELK Stack) Slo API

SLO APIs enable you to define, manage and track service-level objectives

Business capability
Service Reliability Engineering BC-4220.10

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /s/{spaceId}/api/observability/slos List and search SLOs · Get a paginated list of SLOs #
Ask an LLM
“Which service level objectives are defined in my Kibana space?”
“Can I filter SLOs with a KQL query and hide stale ones?”
Tell an agent
List the SLOs in space {spaceId}.
Find SLOs in space {spaceId} matching {kqlQuery}.
POST /s/{spaceId}/api/observability/slos Create a service level objective · Create an SLO #
Ask an LLM
“How do I define a new SLO with a target and time window?”
“Can I choose occurrences or timeslices as the budgeting method for a new SLO?”
Tell an agent
Create SLO {name} in {spaceId}: {description}; indicator {indicator}, target {objective}, window {timeWindow}, {budgetingMethod} budgeting.
Set up a new {name} objective in {spaceId} grouped by {groupBy}: {description}, {indicator}, target {objective}, {timeWindow}, {budgetingMethod}.
POST /s/{spaceId}/api/observability/slos/_bulk_delete Bulk delete SLO definitions · Bulk delete SLO definitions and their associated summary and rollup data #
Ask an LLM
“How do I delete many SLOs and their summary and rollup data at once?”
“Does bulk SLO deletion run as a background task I can track?”
Tell an agent destructive · confirm first
Bulk delete SLOs {list} in space {spaceId}.
Start a background deletion of the SLO definitions {list} from {spaceId}.
GET /s/{spaceId}/api/observability/slos/_bulk_delete/{taskId} Check the status of a bulk SLO deletion · Retrieve the status of the bulk deletion #
Ask an LLM
“Has my bulk SLO deletion finished yet?”
“What were the results of a bulk delete task for SLOs?”
Tell an agent
Check bulk delete task {taskId} in space {spaceId}.
Tell me whether SLO deletion task {taskId} in {spaceId} is complete.
POST /s/{spaceId}/api/observability/slos/_bulk_purge_rollup Purge SLO rollup and summary data · Batch delete rollup and summary data #
Ask an LLM
“Can I purge old rollup data for SLOs while keeping the definitions?”
“What purge policy options exist when clearing SLO rollup data?”
Tell an agent destructive · confirm first
Purge rollup data for SLOs {list} in {spaceId} using purge policy {purgePolicy}.
Clear the rollup and summary history of SLOs {list} in space {spaceId} per {purgePolicy}.
POST /s/{spaceId}/api/observability/slos/_bulk_snapshot Compute summaries for many SLO instances at once · Compute SLO instance summaries in bulk at a point in time #
Ask an LLM
“How do I get the status of up to 100 SLO instances as of a past moment?”
“Can I compute several SLO summaries in a single synchronous request?”
Tell an agent
Compute SLO summaries for {requests} in {spaceId} at {at}.
Batch snapshot these SLO instances {requests} as of {at} in space {spaceId}.
POST /s/{spaceId}/api/observability/slos/_delete_instances Delete data for specific SLO instances · Batch delete rollup and summary data #
Ask an LLM
“How do I remove the rollup and summary data for particular SLO instance IDs?”
“Can I delete one grouped instance of an SLO without deleting the SLO?”
Tell an agent destructive · confirm first
Delete the SLO instances {list} in space {spaceId}.
Remove summary data for these sloId and instanceId pairs {list} in {spaceId}.
DELETE /s/{spaceId}/api/observability/slos/{sloId} Delete an SLO · Delete an SLO #
Ask an LLM
“How do I delete a single SLO I no longer need?”
“Can I remove one service level objective by its ID?”
Tell an agent destructive · confirm first
Delete SLO {sloId} in space {spaceId}.
Remove the objective {sloId} from {spaceId}.
GET /s/{spaceId}/api/observability/slos/{sloId} Get an SLO · Get an SLO #
Ask an LLM
“Where do I fetch one SLO's definition and current status?”
“Can I get a single instance of a grouped SLO?”
Tell an agent
Get SLO {sloId} in space {spaceId}.
Show instance {instanceId} of SLO {sloId} in {spaceId}.
PUT /s/{spaceId}/api/observability/slos/{sloId} Update an SLO · Update an SLO #
Ask an LLM
“Can I change the target objective of an existing SLO?”
“How do I edit an SLO's name, tags or time window?”
Tell an agent
Update SLO {sloId} in {spaceId} to objective {objective}.
Rename existing SLO {sloId} in space {spaceId} to {name}.
POST /s/{spaceId}/api/observability/slos/{sloId}/_reset Reset an SLO · Reset an SLO #
Ask an LLM
“How do I reset an SLO so it recalculates from scratch?”
“Can I restart an SLO's computed data after changing its source?”
Tell an agent
Reset SLO {sloId} in space {spaceId}.
Recompute objective {sloId} in {spaceId} from the beginning.
GET /s/{spaceId}/api/observability/slos/{sloId}/_snapshot Compute one SLO's summary at a point in time · Compute an SLO instance summary at a point in time #
Ask an LLM
“What was an SLO's status and error budget at a specific time?”
“Can I see all instances of one SLO as of a past timestamp?”
Tell an agent
Compute the summary of SLO {sloId} in {spaceId} at {at}.
Show instance {instanceId} of SLO {sloId} in space {spaceId} as it stood at {at}.
POST /s/{spaceId}/api/observability/slos/{sloId}/disable Disable an SLO · Disable an SLO #
Ask an LLM
“How do I pause an SLO without deleting it?”
“Can I stop an SLO from being computed temporarily?”
Tell an agent
Disable SLO {sloId} in space {spaceId}.
Pause objective {sloId} in {spaceId}.
POST /s/{spaceId}/api/observability/slos/{sloId}/enable Enable an SLO · Enable an SLO #
Ask an LLM
“How do I turn a disabled SLO back on?”
“Can I resume computing an SLO I paused?”
Tell an agent
Enable SLO {sloId} in space {spaceId}.
Resume the paused objective {sloId} in {spaceId}.
GET /s/{spaceId}/internal/observability/slos/_definitions List SLO definitions with health · Get the SLO definitions #
Ask an LLM
“Which SLO definitions are outdated and need upgrading?”
“Can I list SLO definitions along with their health status?”
Tell an agent
Get the SLO definitions in space {spaceId}.
List only outdated SLO definitions in {spaceId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elk-stack:elk-stack-slo-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-slo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Kibana Team
  description: The Kibana REST APIs enable you to manage resources such as connectors, data views, and saved objects.
  title: Kibana Slo API
  version: ''
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
security:
- apiKeyAuth: []
- basicAuth: []
tags:


# --- truncated at 32 KB (109 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-slo-api-openapi.yml