| name | opsgenie |
| description | Manage incidents and on-call schedules via Opsgenie API. Create alerts and escalations. |
| metadata | {"clawdbot":{"emoji":"🚨","requires":{"env":["OPSGENIE_API_KEY"]}}} |
Opsgenie
Incident management.
Environment
export OPSGENIE_API_KEY="xxxxxxxxxx"
Create Alert
curl -X POST "https://api.opsgenie.com/v2/alerts" \
-H "Authorization: GenieKey $OPSGENIE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Server down", "priority": "P1"}'
List Alerts
curl "https://api.opsgenie.com/v2/alerts" -H "Authorization: GenieKey $OPSGENIE_API_KEY"
Acknowledge Alert
curl -X POST "https://api.opsgenie.com/v2/alerts/{alertId}/acknowledge" \
-H "Authorization: GenieKey $OPSGENIE_API_KEY"
Links