stack es ml get-trained-models-stats cli command
Auth required
Idempotent
Scope: global
elastic stack es ml get-trained-models-stats [options]
Get trained models usage info.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--model-idstring- The unique identifier of the trained model or a model alias. It can be a comma-separated list or a wildcard expression.
--[no-]allow-no-match- Specifies what to do when the request: - Contains wildcard expressions and there are no models that match. - Contains the _all string or no identifiers and there are no matches. - Contains wildcard expressions and there are only partial matches. If true, it returns an empty array when there are no matches and the subset of results when there are partial matches.
--fromstring- Skips the specified number of models.
--sizestring- Specifies the maximum number of models to obtain.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON