Get the alert types Deprecated
Deprecated in 7.13.0. Use the get rule types API instead.
GET
/api/alerts/alerts/list_alert_types
curl \
-X GET https://localhost:5601/api/alerts/alerts/list_alert_types
Response examples (200)
[
{
"actionGroups": [
{
"id": "string",
"name": "string"
}
],
"actionVariables": {
"context": [
{
"description": "string",
"name": "string"
}
],
"params": [
{
"description": "string",
"name": "string"
}
],
"state": [
{
"description": "string",
"name": "string"
}
]
},
"authorizedConsumers": {},
"defaultActionGroupId": "string",
"enabledInLicense": true,
"id": "string",
"isExportable": true,
"minimumLicenseRequired": "string",
"name": "string",
"producer": "string",
"recoveryActionGroup": {
"id": "string",
"name": "string"
}
}
]
Response examples (401)
{
"error": "Unauthorized",
"message": "string",
"statusCode": 401
}