Spaces method and path for this operation:
get /s/{space_id}/api/alerting/v2/rules/tags
Refer to Spaces for more information.
[Required authorization] Route required privileges: read_alerting-v2-rules.
GET
/api/alerting/v2/rules/tags
curl \
--request GET 'https://localhost:5601/api/alerting/v2/rules/tags' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"tags": [
"production",
"infra",
"critical"
]
}
Response examples (400)
{
"code": "BAD_REQUEST",
"details": {
"errors": {
"errors": [],
"properties": {
"search": {
"errors": [
"Too big: expected string to have <=256 characters"
]
}
}
}
},
"error": "Bad Request",
"message": "search: Too big: expected string to have <=256 characters"
}
Response examples (401)
{
"code": "UNAUTHORIZED",
"error": "Unauthorized",
"message": "Authentication required to access this API."
}
Response examples (403)
{
"code": "FORBIDDEN",
"error": "Forbidden",
"message": "The current user does not have the required privileges for this request."
}
Response examples (500)
{
"code": "INTERNAL_SERVER_ERROR",
"error": "Internal Server Error",
"message": "An unexpected error occurred."
}
Response examples (503)
{
"code": "ALERTING_DISABLED",
"error": "Service Unavailable",
"message": "Alerting is disabled."
}