Elastic Stack · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elasticsearch Request & Response Specification Slm API

11 actions 11 updates phrasing extends openapi/elk-stack-slm-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Elastic Stack's API. It is a proposal applied on top of the contract, not a document Elastic Stack publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/_slm/policy/{policy_id}'].get
$.paths['/_slm/policy/{policy_id}'].put
$.paths['/_slm/policy/{policy_id}'].delete
$.paths['/_slm/policy/{policy_id}/_execute'].put
$.paths['/_slm/_execute_retention'].post
$.paths['/_slm/policy'].get
$.paths['/_slm/stats'].get
$.paths['/_slm/status'].get
$.paths['/_slm/start'].post
$.paths['/_slm/stop'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Elasticsearch Request & Response Specification Slm API
  version: 1.0.0
extends: openapi/elk-stack-slm-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/_slm/policy/{policy_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a snapshot lifecycle policy
      effect: read
      questions:
      - When did my nightly snapshot policy last succeed or fail?
      - What schedule and repository does a particular snapshot policy use?
      instructions:
      - text: Get snapshot lifecycle policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Show the latest snapshot attempts for policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/policy/{policy_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a snapshot policy
      effect: write
      questions:
      - How do I schedule automatic nightly snapshots of my cluster?
      - Can I set a retention rule so old snapshots get cleaned up automatically?
      instructions:
      - text: Create snapshot policy {policy_id} on schedule {schedule} into repository {repository}.
        slots:
          policy_id: path.policy_id
          schedule: requestBody.schedule
          repository: requestBody.repository
      - text: Update policy {policy_id} to name snapshots {name} and apply retention {retention}.
        slots:
          policy_id: path.policy_id
          name: requestBody.name
          retention: requestBody.retention
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/policy/{policy_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a snapshot lifecycle policy
      effect: destructive
      questions:
      - How do I stop a snapshot policy from taking any more snapshots?
      - Does deleting a snapshot policy remove the snapshots it already took?
      instructions:
      - text: Delete snapshot policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Remove the SLM policy {policy_id} but keep existing snapshots.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/policy/{policy_id}/_execute'].put
  update:
    x-apievangelist-phrasing:
      intent: Take a snapshot now using a policy
      effect: write
      questions:
      - Can I take a snapshot immediately before an upgrade instead of waiting for the schedule?
      - How do I manually trigger a snapshot policy?
      instructions:
      - text: Run snapshot policy {policy_id} now.
        slots:
          policy_id: path.policy_id
      - text: Take an immediate snapshot using policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/_execute_retention'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete expired snapshots now
      effect: destructive
      questions:
      - 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?
      instructions:
      - text: Run snapshot retention now to remove expired snapshots.
      - text: Apply SLM retention rules immediately with a timeout of {timeout}.
        slots:
          timeout: query.timeout
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/policy'].get
  update:
    x-apievangelist-phrasing:
      intent: List all snapshot lifecycle policies
      effect: read
      questions:
      - What snapshot policies are set up in my cluster?
      - Which of my snapshot policies had failures recently?
      instructions:
      - text: List every snapshot lifecycle policy.
      - text: Show all SLM policies with their last success and failure.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get snapshot lifecycle statistics
      effect: read
      questions:
      - How many snapshots has SLM taken, failed or deleted in total?
      - What are the per-policy snapshot counts?
      instructions:
      - text: Get snapshot lifecycle management statistics.
      - text: Show snapshots taken and failed per SLM policy.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check whether snapshot lifecycle is running
      effect: read
      questions:
      - Is snapshot lifecycle management running or stopped?
      - Did someone stop SLM on this cluster?
      instructions:
      - text: Check the SLM operating mode.
      - text: Tell me if snapshot lifecycle management is running.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/start'].post
  update:
    x-apievangelist-phrasing:
      intent: Start snapshot lifecycle management
      effect: write
      questions:
      - How do I restart SLM after it was stopped for maintenance?
      - Do I need to start snapshot lifecycle management manually?
      instructions:
      - text: Start snapshot lifecycle management.
      - text: Resume SLM with a master timeout of {master_timeout}.
        slots:
          master_timeout: query.master_timeout
      method: generated
      generated: '2026-09-26'
- target: $.paths['/_slm/stop'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop snapshot lifecycle management
      effect: write
      questions:
      - How do I pause all scheduled snapshots during cluster maintenance?
      - Does stopping SLM cancel snapshots that are already in progress?
      instructions:
      - text: Stop snapshot lifecycle management.
      - text: Halt all SLM operations with a timeout of {timeout}.
        slots:
          timeout: query.timeout
      method: generated
      generated: '2026-09-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/elk-stack-slm-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.