List alert groups
curl --request GET \
--url https://api.rootly.com/v1/alert_groups \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "alert_groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"slug": "<string>",
"condition_type": "<string>",
"time_window": 123,
"group_by_alert_title": true,
"group_by_alert_urgency": true,
"targets": [
{
"target_type": "Group",
"target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"attributes": [
{
"json_path": "<string>"
}
],
"conditions": [
{
"property_field_type": "attribute",
"property_field_name": "<string>",
"property_field_condition_type": "is_one_of",
"property_field_value": "<string>",
"property_field_values": [
"<string>"
],
"values": [
{
"record_id": "<string>",
"record_type": "<string>"
}
]
}
],
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
}
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
success
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_groups \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "alert_groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"slug": "<string>",
"condition_type": "<string>",
"time_window": 123,
"group_by_alert_title": true,
"group_by_alert_urgency": true,
"targets": [
{
"target_type": "Group",
"target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"attributes": [
{
"json_path": "<string>"
}
],
"conditions": [
{
"property_field_type": "attribute",
"property_field_name": "<string>",
"property_field_condition_type": "is_one_of",
"property_field_value": "<string>",
"property_field_values": [
"<string>"
],
"values": [
{
"record_id": "<string>",
"record_type": "<string>"
}
]
}
],
"created_at": "<string>",
"updated_at": "<string>",
"deleted_at": "<string>"
}
}
]
}