Create alert
documentedCreate a new alert with responders/visibility/labels and other metadata.
POST /v2/alertsAlertsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.opsgenie.com/v2/alerts" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
-d '{"message": "{{$message}}", "alias": "{{$alias}}", "description": "{{$description}}", "responders": [{"type": "team", "name": "{{$team_name}}"}]}'