| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | [role="xpack"][testenv="platinum"][[get-ml-info]]=== Get machine learning info API++++<titleabbrev>Get {ml} info</titleabbrev>++++Returns defaults and limits used by machine learning.==== Request`GET _ml/info`==== DescriptionThis endpoint is designed to be used by a user interface that needs to fullyunderstand machine learning configurations where some options are not specified,meaning that the defaults should be used.  This endpoint may be used to find outwhat those defaults are.==== AuthorizationYou must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` clusterprivileges to use this API.  The `machine_learning_admin` and `machine_learning_user`roles provide these privileges. For more information, see{stack-ov}/security-privileges.html[Security Privileges] and{stack-ov}/built-in-roles.html[Built-in Roles].==== ExamplesThe endpoint takes no arguments:[source,js]--------------------------------------------------GET _ml/info--------------------------------------------------// CONSOLE// TESTThis is a possible response:[source,js]----{  "defaults" : {    "anomaly_detectors" : {      "model_memory_limit" : "1gb",      "categorization_examples_limit" : 4,      "model_snapshot_retention_days" : 1    },    "datafeeds" : {      "scroll_size" : 1000    }  },  "upgrade_mode": false,  "limits" : { }}----// TESTRESPONSE
 |