Get anomaly detection job results for categories
Generally available; Added in 5.4.0
Path parameters
-
Identifier for the anomaly detection job.
-
Identifier for the category, which is unique in the job. If you specify neither the category ID nor the partition_field_value, the API returns information about all categories. If you specify only the partition_field_value, it returns information about all categories for the specified partition.
Query parameters
-
Skips the specified number of categories.
-
Only return categories for the specified partition.
-
Specifies the maximum number of categories to obtain.
GET
/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}
curl \
--request GET 'http://api.example.com/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"page\":{\n \"size\": 1\n }\n}"'
Request example
An example body for a `GET _ml/anomaly_detectors/esxi_log/results/categories` request.
{
"page":{
"size": 1
}
}