Create Alert
Create a new alert in Warrn.
team_id - that’s how Warrn decides who gets paged.
service_id is optional but recommended; setting it scopes the alert to one service so it picks up service-level integrations and the per-service AI Triage setting.
Deduplication with alert_alias
Pass an optional alert_alias to make the alert idempotent. Repeated creates with the same alias, while the prior alert is still open or acknowledged, increment its occurrence_count and update its last_occurred_at instead of creating a new alert. Once the alert is resolved, the next call with the same alias creates a fresh alert.
The same alias is also accepted by the resolve endpoint, so you can manage an alert’s lifecycle without ever storing its Warrn UUID:
Authorizations
Bearer token using your Warrn API key.
Body
Short summary of the alert.
255Detailed description of the issue.
low, medium, high, critical Team this alert is routed to. Required.
Service this alert belongs to. Optional.
Arbitrary key-value pairs (runbook URLs, affected hosts, metric values).
Dedup key. While an alert with this alias is open or acknowledged, repeat creates with the same alias increment its occurrence_count instead of creating a new alert. Once resolved, the next create with the same alias makes a new alert. Also accepted as the path identifier on /alerts/{identifier}/resolve/?identifierType=alias.
Response
Alert created
low, medium, high, critical open, acknowledged, resolved "integration"