List Alerts
listAlertsRetrieve an app's alert rules, firing state, affected services, and last-fired times; filter by compose service to isolate its state and history.
Instructions
Returns the app's alert rules with their state, the services they are firing on and when each last fired. Rules live in the app's own alerting tenant, evaluated once a minute. A production app gets two default rules the first time its alerts are read: down for 2 minutes, and more than 3 restarts within 15 minutes, both emailing members. With service, only rules that watch that compose service, and state for it alone.
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": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>"
},
"name": "listAlerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| service | No | Only rules that watch this compose service, with state and history for it alone | |
| workspaceSlug | Yes |