Get Alert Route
get_alert_routeRetrieve a specific alert route by ID to inspect routing configuration and, when needed, include nested destination and condition IDs for updates or deletions.
Instructions
Get a specific alert route by id. Note: This endpoint requires access to Advanced Alert Routing. If you're unsure whether you have access to this feature, please contact Rootly customer support.
Optional Parameters
show_nested_ids (query parameter): When set to
true, the response will include IDs for all nested resources (destinations, condition_groups, conditions). This is useful when you need to reference these nested resources for updates or deletions via PATCH requests.
Example: GET /v1/alert_routes/{id}?show_nested_ids=true
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_alert_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Required. ID of the alert route (fills `{id}` in /v1/alert_routes/{id}). Pass it as `id` -- this tool has no `alert_route_id` argument. | |
| show_nested_ids | No | Include the IDs of nested destinations, condition groups and conditions, for referencing them in PATCH updates or deletions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||