Path parameters
- job_id
string Required Identifier for the anomaly detection job.
Query parameters
- timeout
string Controls the time to wait until a job has opened.
Values are
-1
or0
.
POST /_ml/anomaly_detectors/{job_id}/_open
curl \
--request POST 'http://api.example.com/_ml/anomaly_detectors/{job_id}/_open' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"timeout\": \"35m\"\n}"'
Request example
A request to open anomaly detection jobs. The timeout specifies to wait 35 minutes for the job to open.
{
"timeout": "35m"
}
Response examples (200)
A successful response when opening an anomaly detection job.
{
"opened": true,
"node": "node-1"
}