##Required authorization
- Cluster privileges:
monitor_ml
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
Console
GET _ml/anomaly_detectors/esxi_log/results/categories
{
"page":{
"size": 1
}
}
curl \
--request GET 'http://api.example.com/_ml/anomaly_detectors/{job_id}/results/categories' \
--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
}
}