Get machine learning information Added in 6.3.0

GET /_ml/info

Get defaults and limits used by machine learning. This endpoint is designed to be used by a user interface that needs to fully understand machine learning configurations where some options are not specified, meaning that the defaults should be used. This endpoint may be used to find out what those defaults are. It also provides information about the maximum size of machine learning jobs that could run in the current cluster configuration.

Responses

GET /_ml/info
curl \
 -X GET http://api.example.com/_ml/info
Response examples (200)
{
  "defaults": {
    "anomaly_detectors": {
      "": "string",
      "categorization_examples_limit": 42.0,
      "model_memory_limit": "string",
      "model_snapshot_retention_days": 42.0,
      "daily_model_snapshot_retention_after_days": 42.0
    },
    "datafeeds": {
      "scroll_size": 42.0
    }
  },
  "limits": {
    "max_single_ml_node_processors": 42.0,
    "total_ml_processors": 42.0,
    "": 42.0
  },
  "upgrade_mode": true,
  "native_code": {
    "build_hash": "string",
    "version": "string"
  }
}