Get trained models usage info

  • GET /_ml/trained_models/{model_id}/_stats
  • GET /_ml/trained_models/_stats

You can get usage information for multiple trained models in a single API request by using a comma-separated list of model IDs or a wildcard expression.

  • Cluster privileges: monitor_ml

Path Parameters

model_id union Id | [] Id optional

The unique identifier of the trained model or a model alias. It can be a comma-separated list or a wildcard expression.

Leave it out to use /_ml/trained_models/_stats.

Response