Update alert rule (partial)
Requires EDITOR. All AlertRuleInput fields optional.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Project (tenant) identifier. Row-level tenant isolation is enforced on every query.
ruleId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Partial — every field optional.
object
name
required
string
metric
required
string
baselineMode
string
dropPct
number | null
threshold
number | null
minSample
integer
consecutiveTicks
integer
cooldownMinutes
integer
channels
Array<string>
filters
object
key
additional properties
any
notifyOnResolve
boolean
enabled
boolean
Responses
Section titled “Responses”Updated rule.
Media typeapplication/json
object
rule
object
key
additional properties
any
Param validation failed.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (401 via requireAuthenticated) or insufficient project role (403).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or cross-tenant — same 404).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}