IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get machine learning info API
editGet machine learning info API
editReturns defaults and limits used by machine learning.
Request
editGET _ml/info
Prerequisites
edit-
You must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API. Themachine_learning_admin
andmachine_learning_user
roles provide these privileges. For more information, see Security privileges and Built-in roles.
Description
editThis 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.
Examples
editThe endpoint takes no arguments:
GET _ml/info
This is a possible response:
{ "defaults" : { "anomaly_detectors" : { "model_memory_limit" : "1gb", "categorization_examples_limit" : 4, "model_snapshot_retention_days" : 1 }, "datafeeds" : { "scroll_size" : 1000 } }, "upgrade_mode": false, "limits" : { } }