AlertEvents
Retrieve alert event
Retrieves a specific alert_event by id
GET
/
v1
/
alert_events
/
{id}
Retrieve alert event
curl --request GET \
--url https://api.rootly.com/v1/alert_events/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "alert_events",
"attributes": {
"alert_id": "<string>",
"source": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"user_id": 123,
"details": "<string>",
"user": {
"id": 123,
"name": "<string>",
"email": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"preferred_name": "<string>",
"full_name": "<string>",
"time_zone": "<string>"
},
"incident": {
"id": "<string>",
"sequential_id": 123,
"title": "<string>",
"slug": "<string>",
"kind": "<string>",
"status": "<string>",
"private": true,
"description": "<string>",
"started_at": "<string>",
"duration": 123,
"url": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"schedule": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"escalation_policies": [
{
"id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
},
"escalation_level": 123,
"escalation_target_type": "<string>",
"escalation_target": {
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {}
}
},
"slack_channel": {
"id": "<string>",
"slack_channel_name": "<string>",
"slack_channel_id": "<string>",
"slack_team_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"incident_ids": [
"<string>"
]
}
},
"included": [
{
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
]
}Was this page helpful?
Previous
Delete alert eventDeletes a specific alert event. Only alert events with kind 'note' (user-created notes) can be deleted. System-generated events are immutable to maintain audit trail integrity.
Next
⌘I
Retrieve alert event
curl --request GET \
--url https://api.rootly.com/v1/alert_events/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "alert_events",
"attributes": {
"alert_id": "<string>",
"source": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"user_id": 123,
"details": "<string>",
"user": {
"id": 123,
"name": "<string>",
"email": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"preferred_name": "<string>",
"full_name": "<string>",
"time_zone": "<string>"
},
"incident": {
"id": "<string>",
"sequential_id": 123,
"title": "<string>",
"slug": "<string>",
"kind": "<string>",
"status": "<string>",
"private": true,
"description": "<string>",
"started_at": "<string>",
"duration": 123,
"url": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"schedule": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"escalation_policies": [
{
"id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
},
"escalation_level": 123,
"escalation_target_type": "<string>",
"escalation_target": {
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {}
}
},
"slack_channel": {
"id": "<string>",
"slack_channel_name": "<string>",
"slack_channel_id": "<string>",
"slack_team_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"incident_ids": [
"<string>"
]
}
},
"included": [
{
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
]
}