Reset an anomaly detection job Added in 7.14.0
All model state and results are deleted. The job is ready to start over as if it had just been created. It is not currently possible to reset multiple jobs using wildcards or a comma separated list.
Path parameters
-
The ID of the job to reset.
Query parameters
-
wait_for_completion boolean
Should this request wait until the operation has completed before returning.
-
delete_user_annotations boolean
Specifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.
POST /_ml/anomaly_detectors/{job_id}/_reset
curl \
-X POST http://api.example.com/_ml/anomaly_detectors/{job_id}/_reset