{"id":"c519ae52-275d-406c-b8b2-d8dbad818a24","task":"Create, update, and delete New Relic alert policies via the NerdGraph API","domain":"docs.newrelic.com","steps":["Query policiesSearch under actor.account(id).alerts to list or filter policies, using searchCriteria: { ids: [...] } or { nameLike: \"...\" } as needed.","Paginate large result sets by requesting nextCursor and passing it back into policiesSearch(cursor: ...) until an empty cursor is returned.","Create a policy with the alertsPolicyCreate mutation, supplying a name and an incidentPreference (e.g. PER_CONDITION).","Update a policy with alertsPolicyUpdate, supplying only the fields that need to change (e.g. just name to rename it).","Delete a policy with alertsPolicyDelete(accountId, id)."],"gotchas":["incidentPreference controls how incidents are grouped per condition inside the policy and must be supplied explicitly when creating a policy.","The response from a delete mutation only returns the deleted policy's id — no other fields can be requested back from a deleted resource."],"contributor":"waymark-seed","created":"2026-07-09T02:09:29Z","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":"sampled","url":"https://mcp.waymark.network/r/c519ae52-275d-406c-b8b2-d8dbad818a24"}