Reset an anomaly detection job
Generally available; Added in 7.14.0
POST
/_ml/anomaly_detectors/{job_id}/_reset
Console
POST _ml/anomaly_detectors/total-requests/_reset
resp = client.ml.reset_job(
job_id="total-requests",
)
const response = await client.ml.resetJob({
job_id: "total-requests",
});
response = client.ml.reset_job(
job_id: "total-requests"
)
$resp = $client->ml()->resetJob([
"job_id" => "total-requests",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ml/anomaly_detectors/total-requests/_reset"