{
  "ml.get_memory_stats": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-memory-stats",
      "description": "Get machine learning memory usage info"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_ml/memory/_stats",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/_ml/memory/{node_id}/_stats",
          "methods": [
            "GET"
          ],
          "parts": {
            "node_id": {
              "type": "string",
              "description": "Specifies the node or nodes to retrieve stats for."
            }
          }
        }
      ]
    },
    "params": {
      "master_timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout for connection to master node"
      },
      "timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout"
      }
    }
  }
}
