The following REST APIs are available for analyzing data metrics.
/api/v1/customAlerts/metrics Use this REST API to return a list of metrics that can be used in custom alert rules.
/api/v1/customAlerts/rules Use this REST API to return a list of all custom alert rules or to create a custom alert rule.
/api/v1/customAlerts/rules/{id} Use this REST API to return information about a specific custom alert rule, or modify a custom alert rule, or enable, disable, or delete one or more custom alert rules.