Elastic Stack (ELK Stack) Slm API

The slm API from Elastic Stack (ELK Stack) — 8 operation(s) for slm.

Operations 10

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 /_slm/policy/{policy_id} Get a snapshot lifecycle policy · Get policy information #
Ask an LLM
“When did my nightly snapshot policy last succeed or fail?”
“What schedule and repository does a particular snapshot policy use?”
Tell an agent
Get snapshot lifecycle policy {policy_id}.
Show the latest snapshot attempts for policy {policy_id}.
PUT /_slm/policy/{policy_id} Create or update a snapshot policy · Create or update a policy #
Ask an LLM
“How do I schedule automatic nightly snapshots of my cluster?”
“Can I set a retention rule so old snapshots get cleaned up automatically?”
Tell an agent
Create snapshot policy {policy_id} on schedule {schedule} into repository {repository}.
Update policy {policy_id} to name snapshots {name} and apply retention {retention}.
DELETE /_slm/policy/{policy_id} Delete a snapshot lifecycle policy · Delete a policy #
Ask an LLM
“How do I stop a snapshot policy from taking any more snapshots?”
“Does deleting a snapshot policy remove the snapshots it already took?”
Tell an agent destructive · confirm first
Delete snapshot policy {policy_id}.
Remove the SLM policy {policy_id} but keep existing snapshots.
PUT /_slm/policy/{policy_id}/_execute Take a snapshot now using a policy · Run a policy #
Ask an LLM
“Can I take a snapshot immediately before an upgrade instead of waiting for the schedule?”
“How do I manually trigger a snapshot policy?”
Tell an agent
Run snapshot policy {policy_id} now.
Take an immediate snapshot using policy {policy_id}.
POST /_slm/_execute_retention Delete expired snapshots now · Run a retention policy #
Ask an LLM
“How do I force snapshot retention to run and delete expired snapshots right away?”
“Can I clean up old snapshots without waiting for the retention schedule?”
Tell an agent destructive · confirm first
Run snapshot retention now to remove expired snapshots.
Apply SLM retention rules immediately with a timeout of {timeout}.
GET /_slm/policy List all snapshot lifecycle policies · Get policy information #
Ask an LLM
“What snapshot policies are set up in my cluster?”
“Which of my snapshot policies had failures recently?”
Tell an agent
List every snapshot lifecycle policy.
Show all SLM policies with their last success and failure.
GET /_slm/stats Get snapshot lifecycle statistics · Get snapshot lifecycle management statistics #
Ask an LLM
“How many snapshots has SLM taken, failed or deleted in total?”
“What are the per-policy snapshot counts?”
Tell an agent
Get snapshot lifecycle management statistics.
Show snapshots taken and failed per SLM policy.
GET /_slm/status Check whether snapshot lifecycle is running · Get the snapshot lifecycle management status #
Ask an LLM
“Is snapshot lifecycle management running or stopped?”
“Did someone stop SLM on this cluster?”
Tell an agent
Check the SLM operating mode.
Tell me if snapshot lifecycle management is running.
POST /_slm/start Start snapshot lifecycle management · Start snapshot lifecycle management #
Ask an LLM
“How do I restart SLM after it was stopped for maintenance?”
“Do I need to start snapshot lifecycle management manually?”
Tell an agent
Start snapshot lifecycle management.
Resume SLM with a master timeout of {master_timeout}.
POST /_slm/stop Stop snapshot lifecycle management · Stop snapshot lifecycle management #
Ask an LLM
“How do I pause all scheduled snapshots during cluster maintenance?”
“Does stopping SLM cancel snapshots that are already in progress?”
Tell an agent
Stop snapshot lifecycle management.
Halt all SLM operations with a timeout of {timeout}.

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-slm-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-slm-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Request & Response Specification Slm API
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
tags:


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