Elastic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elasticsearch Slm API

11 actions 11 updates phrasing extends openapi/elastic-slm-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Elastic's API. It is a proposal applied on top of the contract, not a document Elastic 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 Slm API
  version: 1.0.0
extends: openapi/elastic-slm-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      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 policy
      effect: read
      questions:
      - When did a given snapshot policy last succeed?
      - Can I see one SLM policy's schedule and retention?
      instructions:
      - text: Get snapshot policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Show the last snapshot attempt for policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-11-17'
- 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 nightly snapshots to a repository?
      - Can a snapshot policy delete old snapshots automatically?
      instructions:
      - text: Create snapshot policy {policy_id} on schedule {schedule} to repo {repository}.
        slots:
          policy_id: path.policy_id
          schedule: requestBody.schedule
          repository: requestBody.repository
      - text: Set retention {retention} on snapshot policy {policy_id}.
        slots:
          retention: requestBody.retention
          policy_id: path.policy_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/policy/{policy_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a snapshot policy
      effect: destructive
      questions:
      - How do I stop a snapshot policy from taking future snapshots?
      - Does deleting an SLM policy remove existing snapshots?
      instructions:
      - text: Delete snapshot policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Remove the SLM policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/policy/{policy_id}/_execute'].put
  update:
    x-apievangelist-phrasing:
      intent: Take a snapshot now from a policy
      effect: write
      questions:
      - Can I trigger a policy's snapshot immediately instead of waiting?
      - How do I test that a snapshot policy works?
      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-11-17'
- target: $.paths['/_slm/_execute_retention'].post
  update:
    x-apievangelist-phrasing:
      intent: Apply snapshot retention now
      effect: destructive
      questions:
      - How do I force removal of expired snapshots right away?
      - Can I run SLM retention outside its schedule?
      instructions:
      - text: Run snapshot retention now.
      - text: Delete expired snapshots per retention rules immediately.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/policy'].get
  update:
    x-apievangelist-phrasing:
      intent: List all snapshot policies
      effect: read
      questions:
      - What snapshot lifecycle policies are defined?
      - Can I see all SLM policies and their last runs?
      instructions:
      - text: List all snapshot lifecycle policies.
      - text: Show every SLM policy with its latest snapshot attempts.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get snapshot lifecycle statistics
      effect: read
      questions:
      - How many snapshots has SLM taken or failed?
      - Can I see retention stats across all policies?
      instructions:
      - text: Show snapshot lifecycle management statistics.
      - text: Get global and per-policy SLM stats.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check whether SLM is running
      effect: read
      questions:
      - Is snapshot lifecycle management currently running or stopped?
      - What operation mode is SLM in?
      instructions:
      - text: Check the SLM status.
      - text: Tell me whether snapshot lifecycle management is running.
      method: generated
      generated: '2026-11-17'
- 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?
      - Does SLM start automatically when a cluster forms?
      instructions:
      - text: Start snapshot lifecycle management.
      - text: Resume SLM with master timeout {master_timeout}.
        slots:
          master_timeout: query.master_timeout
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_slm/stop'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop snapshot lifecycle management
      effect: write
      questions:
      - How do I pause all automated snapshots during maintenance?
      - Will stopping SLM halt the SLM plugin entirely?
      instructions:
      - text: Stop snapshot lifecycle management.
      - text: Halt all SLM operations with timeout {timeout}.
        slots:
          timeout: query.timeout
      method: generated
      generated: '2026-11-17'

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/elastic-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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