Get machine learning information Generally available; 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.

Required authorization

  • Cluster privileges: monitor_ml

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • defaults object Required
      Hide defaults attributes Show defaults attributes object
      • anomaly_detectors object Required
        Hide anomaly_detectors attributes Show anomaly_detectors attributes object
        • categorization_analyzer string | object Required

          One of:
        • categorization_examples_limit number Required
        • model_memory_limit string Required
        • model_snapshot_retention_days number Required
        • daily_model_snapshot_retention_after_days number Required
      • datafeeds object Required
        Hide datafeeds attribute Show datafeeds attribute object
        • scroll_size number Required
    • limits object Required
      Hide limits attributes Show limits attributes object
    • upgrade_mode boolean Required
    • native_code object Required
      Hide native_code attributes Show native_code attributes object
      • build_hash string Required
      • version string Required
GET _ml/info
resp = client.ml.info()
const response = await client.ml.info();
response = client.ml.info
$resp = $client->ml()->info();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ml/info"