PATCH · alerts:write
Update alert
Update an alert rule the user can edit.
External side effects
REST
PATCH
/api/v1/alerts/:alertIdcurl "https://www.stalkr.ai/api/v1/alerts/:alertId" \
--request PATCH \
--header "Authorization: Bearer $STALKR_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: unique-operation-key"MCP
Tool name: update_alert
The MCP tool accepts the same input schema and returns the same structured { data, meta } result as REST.
Input
namestring
activeboolean
channelsarray
Exactly one email channel; Stalkr delivers alerts only to the verified workspace owner
digestobject
filtersobject
alertIdrequiredstring
idempotencyKeystring
Unique key used to safely retry this write operation
Safe retries
Pass
idempotencyKey to the MCP tool or Idempotency-Key to REST when retrying this write.Authorization
Required scope: alerts:write.
Scope authorization is followed by resource authorization. Project operations check current membership and the minimum role required by the underlying workflow.