Get model snapshots info
- POST also GET /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
- POST also GET /_ml/anomaly_detectors/{job_id}/model_snapshots
Required authorization
- Cluster privileges monitor_ml
Path parameters
-
snapshot_idstringoptional -
A numerical character string that uniquely identifies the model snapshot. You can get information for multiple snapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using
_all, by specifying*as the snapshot ID, or by omitting the snapshot ID.Leave it out to use
/_ml/anomaly_detectors/{job_id}/model_snapshots.
Response
application/json
-
model_snapshotsobjectrequired -
job_idstringrequired -
A numerical character string that uniquely identifies the job that the snapshot was created for.
-
retainbooleanrequired -
If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.