Validates an anomaly detection job Added in 6.3.0
Body Required
-
job_id string
-
analysis_config object
Additional properties are allowed.
-
analysis_limits object
Additional properties are allowed.
-
data_description object
Additional properties are allowed.
-
description string
-
model_plot object
Additional properties are allowed.
-
model_snapshot_id string
-
results_index_name string
POST /_ml/anomaly_detectors/_validate
curl \
-X POST http://api.example.com/_ml/anomaly_detectors/_validate \
-H "Content-Type: application/json" \
-d '{"job_id":"string","analysis_config":{"bucket_span":"string","":"string","categorization_field_name":"string","categorization_filters":["string"],"detectors":[{"by_field_name":"string","custom_rules":[{"actions":["skip_result"],"conditions":[{}],"scope":{"additionalProperty1":{},"additionalProperty2":{}}}],"detector_description":"string","detector_index":42.0,"exclude_frequent":"all","field_name":"string","function":"string","over_field_name":"string","partition_field_name":"string","use_null":true}],"influencers":["string"],"latency":"string","model_prune_window":"string","multivariate_by_fields":true,"per_partition_categorization":{"enabled":true,"stop_on_warn":true},"summary_count_field_name":"string"},"analysis_limits":{"categorization_examples_limit":42.0,"model_memory_limit":"string"},"data_description":{"format":"string","time_field":"string","time_format":"string","field_delimiter":"string"},"description":"string","model_plot":{"annotations_enabled":true,"enabled":true,"terms":"string"},"model_snapshot_id":"string","model_snapshot_retention_days":42.0,"results_index_name":"string"}'
Request examples
{
"job_id": "string",
"analysis_config": {
"bucket_span": "string",
"": "string",
"categorization_field_name": "string",
"categorization_filters": [
"string"
],
"detectors": [
{
"by_field_name": "string",
"custom_rules": [
{
"actions": [
"skip_result"
],
"conditions": [
{}
],
"scope": {
"additionalProperty1": {},
"additionalProperty2": {}
}
}
],
"detector_description": "string",
"detector_index": 42.0,
"exclude_frequent": "all",
"field_name": "string",
"function": "string",
"over_field_name": "string",
"partition_field_name": "string",
"use_null": true
}
],
"influencers": [
"string"
],
"latency": "string",
"model_prune_window": "string",
"multivariate_by_fields": true,
"per_partition_categorization": {
"enabled": true,
"stop_on_warn": true
},
"summary_count_field_name": "string"
},
"analysis_limits": {
"categorization_examples_limit": 42.0,
"model_memory_limit": "string"
},
"data_description": {
"format": "string",
"time_field": "string",
"time_format": "string",
"field_delimiter": "string"
},
"description": "string",
"model_plot": {
"annotations_enabled": true,
"enabled": true,
"terms": "string"
},
"model_snapshot_id": "string",
"model_snapshot_retention_days": 42.0,
"results_index_name": "string"
}
Response examples (200)
{
"acknowledged": true
}