You can manage your policies, conditions, and muting rules programmatically using our GraphQL-format NerdGraph API. This is a powerful alternative to managing them within New Relic or with our older REST API.
Here are links to the alerts-related NerdGraph docs:
- Manage policies
- Use NRQL conditions
- Add muting rules to suppress notifications
- Manage notification channels
- Customize loss of signal and gap filling
The easiest way to discover alerts queries and mutations is through the NerdGraph API explorer.
For general information about NerdGraph and about using the NerdGraph explorer, see Intro to NerdGraph.