Open anomaly detection jobs Added in 5.4.0
An anomaly detection job must be opened to be ready to receive and analyze data. It can be opened and closed multiple times throughout its lifecycle. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.
Path parameters
-
Identifier for the anomaly detection job.
Query parameters
-
timeout string
Controls the time to wait until a job has opened.
POST
/_ml/anomaly_detectors/{job_id}/_open
curl \
-X POST http://api.example.com/_ml/anomaly_detectors/{job_id}/_open \
-H "Content-Type: application/json" \
-d '{"timeout":"string"}'
Request examples
{
"timeout": "string"
}
Response examples (200)
{
"opened": true,
"node": "string"
}