Elastic Stack (ELK Stack) Ml API

The ml API from Elastic Stack (ELK Stack) — 7 operation(s) for ml.

Business capability
Artificial Intelligence Management BC-610.60

Operations 7

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 /_ml/memory/_stats Get ML memory usage across all nodes · Get machine learning memory usage info #
Ask an LLM
“How much memory are my machine learning jobs and models using across the cluster?”
“Can I see ML memory use both inside and outside the JVM heap for every node?”
Tell an agent
Show machine learning memory usage for all nodes.
Get cluster-wide ML memory stats with a timeout of {timeout}.
GET /_ml/memory/{node_id}/_stats Get ML memory usage for one node · Get machine learning memory usage info #
Ask an LLM
“How much memory is machine learning using on a specific node?”
“Can I check ML native memory for just one node?”
Tell an agent
Show machine learning memory usage on node {node_id}.
Get ML memory stats for node {node_id} only.
GET /_ml/info Get machine learning defaults and limits · Get machine learning information #
Ask an LLM
“What are the default settings and limits for machine learning jobs?”
“What is the maximum ML job size my cluster can run?”
Tell an agent
Get the machine learning defaults and limits.
Show the ML configuration defaults for this cluster.
POST /_ml/set_upgrade_mode Toggle ML upgrade mode · Set upgrade_mode for ML indices #
Ask an LLM
“How do I pause all machine learning jobs before upgrading my cluster?”
“Does enabling ML upgrade mode stop new jobs from opening?”
Tell an agent
Set machine learning upgrade mode to {enabled}.
Turn off ML upgrade mode, waiting up to {timeout}.
GET /api/ml/saved_objects/sync Sync ML saved objects in the default space · Sync saved objects in the default space #
Ask an LLM
“How do I fix machine learning jobs that are missing from Kibana's saved objects?”
“Can I preview what an ML saved object sync would change?”
Tell an agent
Sync machine learning saved objects in the default space.
Run the ML saved object sync with simulate set to {simulate}.
POST /api/ml/saved_objects/update_jobs_spaces Change which spaces ML jobs belong to · Update jobs spaces #
Ask an LLM
“How do I share a machine learning job with another Kibana space?”
“Can I remove anomaly detection jobs from a space?”
Tell an agent
Add these machine learning jobs to the listed spaces.
Remove these ML jobs from the given spaces.
POST /api/ml/saved_objects/update_trained_models_spaces Change which spaces trained models belong to · Update trained models spaces #
Ask an LLM
“How do I make a trained model available in another Kibana space?”
“Can I remove a trained model from a space?”
Tell an agent
Add these trained models to the listed spaces.
Remove these trained models from the given spaces.

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-ml-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-ml-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elk Stack Ml API
  version: ''
  x-refined-note:
  - x-doc-license differs across the merged source definitions and was not carried
  - x-feedbackLink differs across the merged source definitions and was not carried
  description: 'Operations tagged ml across 2 of this provider''s published API definitions: elk-stack-elasticsearch-openapi.json, elk-stack-kibana-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
tags:


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