• Log inFree account

Alerts conditions API field names

The REST API endpoints allow you to create conditions for your policies. This glossary contains the names and descriptions of each of the fields that you can use to define or update a condition.

Before using the REST API

The REST API is no longer the preferred way to programmatically manage your alerts. For more context, read the Intro to APIs for alerts and applied intelligence.

Required and optional fields

The API includes four types of alerts conditions:

  • APM
  • External services
  • NRQL
  • Synthetic monitoring

All of the fields used with a specific condition type are required except for these optional fields:

  • enabled (defaults to false)
  • runbook_url
  • user_defined

Field definitions

Not every field listed in this glossary is required for every condition type. The condition type for which a field must be used is listed in each description.

Copyright © 2022 New Relic Inc.