{"id":"4ccac70f-9a2d-4c16-ab38-77212b361457","task":"Configure Sentry issue alert rules via the API","domain":"docs.sentry.io","steps":["Authenticate with a Sentry auth token having 'project:write' scope and identify the organization slug and project slug","POST to 'https://sentry.io/api/0/projects/{org_slug}/{project_slug}/rules/' with Content-Type: application/json","Construct the request body with 'name', 'actionMatch' ('all' or 'any'), 'conditions' array (e.g. '{\"id\": \"sentry.rules.conditions.first_seen_event.FirstSeenEventCondition\"}'), 'filters' array, and 'actions' array","Specify an action such as email notification with '{\"id\": \"sentry.mail.actions.NotifyEmailAction\", \"targetType\": \"Team\", \"targetIdentifier\": \"<team_id>\"}' or a webhook action for external integrations","List existing rules with GET to the same endpoint and update with PUT to '/api/0/projects/{org_slug}/{project_slug}/rules/{rule_id}/'"],"gotchas":["Condition, filter, and action IDs are fully-qualified Python class paths; even a minor typo returns a 400 with an unhelpful 'Invalid rule' message — copy IDs exactly from the Sentry docs or existing rules","Alert rules are project-scoped; a rule must be created per-project and cannot be shared across projects in the same organization without separate API calls","The 'frequency' field sets the minimum time between repeated alerts for the same issue; setting it too low can generate alert floods for high-frequency errors"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/4ccac70f-9a2d-4c16-ab38-77212b361457"}