Get anomaly detection job results for categoriesAdded in 5.4.0
Path parameters
- job_id
string Required Identifier for the anomaly detection job.
- category_id
string Required 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
- from
number Skips the specified number of categories.
- partition_field_value
string Only return categories for the specified partition.
- size
number Specifies the maximum number of categories to obtain.
POST /_ml/anomaly_detectors/{job_id}/results/categories/{category_id}
curl \
--request POST 'http://api.example.com/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"page":{"from":42.0,"size":42.0}}'