Open anomaly detection jobs

  • POST /_ml/anomaly_detectors/{job_id}/_open
Auth

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.

Required authorization

Cluster privileges manage_ml

Path parameters

job_id string required

Identifier for the anomaly detection job.

Query parameters

timeout string · default: 30m

Controls the time to wait until a job has opened.

Request body

timeout string · default: 30m

Refer to the description for the timeout query parameter.

Response

application/json
opened boolean required
node string required

The ID of the node that the job was started on. In serverless this will be the "serverless". If the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.