Get machine learning info APIedit

Returns defaults and limits used by machine learning.


GET _ml/info


Requires the monitor_ml cluster privilege. This privilege is included in the machine_learning_user built-in role.


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.


The endpoint takes no arguments:

GET _ml/info

This is a possible response:

  "defaults" : {
    "anomaly_detectors" : {
      "categorization_analyzer" : {
        "char_filter" : [
        "tokenizer" : "ml_standard",
        "filter" : [
            "type" : "stop",
            "stopwords" : [
      "model_memory_limit" : "1gb",
      "categorization_examples_limit" : 4,
      "model_snapshot_retention_days" : 10,
      "daily_model_snapshot_retention_after_days" : 1
    "datafeeds" : {
      "scroll_size" : 1000
  "upgrade_mode": false,
  "native_code" : {
    "version": "7.0.0",
    "build_hash": "99a07c016d5a73"
  "limits" : {
    "effective_max_model_memory_limit": "28961mb",
    "total_ml_memory": "86883mb"