API referenceAlerts
PATCH /v2/alerts/{alertRuleId}
Path Parameters
alertRuleId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PATCH "https://example.com/v2/alerts/string" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://example.com/schemas/AlertRuleDTO.json", "alertRuleId": "string", "appId": "string", "createdAt": "string", "destination": "string", "destinationType": "string", "enabled": true, "environmentId": "string", "metric": "string", "model": "string", "name": "string", "operator": "string", "orgId": "string", "release": "string", "service": "string", "threshold": 0.1, "updatedAt": "string"}destination?string
destinationType?string
Value in
- "email"
- "webhook"
enabled?boolean
metric?string
Value in
- "error_count"
- "error_rate"
- "latency_ms"
- "cost_usd"
name?string
operator?string
Value in
- "gt"
- "gte"
- "lt"
- "lte"
threshold?number
Format
double