Create Alert
createAlertCreate app alert rules for p95 latency, errors, CPU, memory, restarts, or downtime, then notify workspace members by email and app channels when thresholds are met.
Instructions
p95 and errors exist only for the service the app's address routes to. A rule that fires emails members who keep incident emails on (when email) and posts to its channels. Answers 400 bad_rule when the rule does not fit the metric.
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": "createAlert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| requestBody | No | The JSON request body. | |
| workspaceSlug | Yes |