Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

New Relic Alerts API

The Alerts API from New Relic — 23 operation(s) for alerts.

New Relic Alerts API is one of 41 APIs that New Relic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 111 JSON Schema definitions.

Tagged areas include Alerts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, a JSON-LD context, rate-limit docs, and 111 JSON Schemas.

This API exposes 35 operations across 23 paths, and defines 41 schemas. It is described by OpenAPI 3.1.0, at version 1.

Requests are made against 2 base URLs: https://insights-collector.newrelic.com, https://insights-collector.eu01.nr-data.net.

35 operations 23 paths 41 schemas 9 DELETE11 GET7 POST8 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1
Base URL
https://api.newrelic.com/v2/
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

New Relic Alerts API declares 1 security scheme for authenticating requests. An API key is passed in the header as Api-Key (apiKey). By default, every request must be authenticated.

  • apiKey — New Relic License Key or Ingest API Key

Paths & Operations 35

Across 23 paths, the API surfaces 35 operations — 9 DELETE, 11 GET, 7 POST, 8 PUT. Each is listed below with its method, path, parameters, and response codes.

Alerts 35
GET
/alerts_channels.json
New Relic Get Alerts Channels
getAlertsChannels 1 param → 200
POST
/alerts_channels.json
New Relic Post Alerts Channels
postAlertsChannels 1 param body → 200
DELETE
/alerts_channels/{channel_id}.json
New Relic Delete Alerts Channels Channel
deleteAlertsChannelsChannelId 1 param → 200
GET
/alerts_conditions.json
New Relic Get Alerts Conditions
getAlertsConditions 2 params → 200
POST
/alerts_conditions/policies/{policy_id}.json
New Relic Post Alerts Conditions Policies
postAlertsConditionsPoliciesPolicyId 1 param body → 200
PUT
/alerts_conditions/{condition_id}.json
New Relic Put Alerts Conditions
putAlertsConditionsConditionId 1 param body → 200
DELETE
/alerts_conditions/{condition_id}.json
New Relic Delete Alerts Conditions
deleteAlertsConditionsConditionId 1 param → 200
GET
/alerts_entity_conditions/{entity_id}.json
New Relic Get Alerts Entity Conditions Entity
getAlertsEntityConditionsEntityId 2 params → 200
PUT
/alerts_entity_conditions/{entity_id}.json
New Relic Put Alerts Entity Conditions Entity
putAlertsEntityConditionsEntityId 3 params → 200
DELETE
/alerts_entity_conditions/{entity_id}.json
New Relic Delete Alerts Entity Conditions Entity
deleteAlertsEntityConditionsEntityId 3 params → 200
GET
/alerts_events.json
New Relic Get Alerts Events
getAlertsEvents 7 params → 200
GET
/alerts_external_service_conditions.json
New Relic Get Alerts External Service Conditions
getAlertsExternalServiceConditions 2 params → 200
POST
/alerts_external_service_conditions/policies/{policy_id}.json
New Relic Post Alerts External Service Conditions Policies
postAlertsExternalServiceConditionsPoliciesPolicyId 1 param body → 200
PUT
/alerts_external_service_conditions/{condition_id}.json
New Relic Put Alerts External Service Conditions
putAlertsExternalServiceConditionsConditionId 1 param body → 200
DELETE
/alerts_external_service_conditions/{condition_id}.json
New Relic Delete Alerts External Service Conditions
deleteAlertsExternalServiceConditionsConditionId 1 param → 200
GET
/alerts_incidents.json
New Relic Get Alerts Incidents
getAlertsIncidents 2 params → 200
GET
/alerts_location_failure_conditions/policies/{policy_id}.json
New Relic Get Alerts Location Failure Conditions Policies
getAlertsLocationFailureConditionsPoliciesPolicyId 2 params → 200
POST
/alerts_location_failure_conditions/policies/{policy_id}.json
New Relic Post Alerts Location Failure Conditions Policies
postAlertsLocationFailureConditionsPoliciesPolicyId 2 params body → 200
PUT
/alerts_location_failure_conditions/{condition_id}.json
New Relic Put Alerts Location Failure Conditions
putAlertsLocationFailureConditionsConditionId 1 param body → 200
DELETE
/alerts_location_failure_conditions/{condition_id}.json
New Relic Delete Alerts Location Failure Conditions
deleteAlertsLocationFailureConditionsConditionId 1 param → 200
GET
/alerts_nrql_conditions.json
New Relic Get Alerts Nrql Conditions
getAlertsNrqlConditions 2 params → 200
POST
/alerts_nrql_conditions/policies/{policy_id}.json
New Relic Post Alerts Nrql Conditions Policies
postAlertsNrqlConditionsPoliciesPolicyId 1 param body → 200
PUT
/alerts_nrql_conditions/{condition_id}.json
New Relic Put Alerts Nrql Conditions
putAlertsNrqlConditionsConditionId 1 param body → 200
DELETE
/alerts_nrql_conditions/{condition_id}.json
New Relic Delete Alerts Nrql Conditions
deleteAlertsNrqlConditionsConditionId 1 param → 200
GET
/alerts_policies.json
New Relic Get Alerts Policies
getAlertsPolicies 2 params → 200
POST
/alerts_policies.json
New Relic Post Alerts Policies
postAlertsPolicies body → 200
PUT
/alerts_policies/{policy_id}.json
New Relic Put Alerts Policies
putAlertsPoliciesPolicyId 1 param body → 200
DELETE
/alerts_policies/{policy_id}.json
New Relic Delete Alerts Policies
deleteAlertsPoliciesPolicyId 1 param → 200
PUT
/alerts_policy_channels.json
New Relic Put Alerts Policy Channels
putAlertsPolicyChannels 2 params → 200
DELETE
/alerts_policy_channels.json
New Relic Delete Alerts Policy Channels
deleteAlertsPolicyChannels 2 params → 200
GET
/alerts_synthetics_conditions.json
New Relic Get Alerts Synthetics Conditions
getAlertsSyntheticsConditions 2 params → 200
POST
/alerts_synthetics_conditions/policies/{policy_id}.json
New Relic Post Alerts Synthetics Conditions Policies
postAlertsSyntheticsConditionsPoliciesPolicyId 1 param body → 200
PUT
/alerts_synthetics_conditions/{condition_id}.json
New Relic Put Alerts Synthetics Conditions
putAlertsSyntheticsConditionsConditionId 1 param body → 200
DELETE
/alerts_synthetics_conditions/{condition_id}.json
New Relic Delete Alerts Synthetics Conditions
deleteAlertsSyntheticsConditionsConditionId 1 param → 200
GET
/alerts_violations.json
New Relic Get Alerts Violations
getAlertsViolations 4 params → 200

Schemas 41

The contract defines 41 schemas that model the data the API accepts and returns. The most detailed are ConditionResponseType (12 properties), RecentEventResponseType (10 properties), NrqlConditionResponseType (10 properties), ViolationResponseType (10 properties). Each schema is shown below with its type and property counts.

SyntheticsCondition
object
1 property
ViolationEntityResponse
object
5 properties
NrqlConditionBody
object
8 properties
PolicyChannelsResponseType
object
2 properties
ViolationResponseType
object
10 properties
ChannelBody
object
3 properties
NrqlConditionResponse
object
1 property
PolicyChannelsResponse
object
1 property
NrqlBody
object
2 properties
PolicyResponse
object
1 property
ChannelResponseType
object
5 properties
SyntheticsConditionResponseType
object
5 properties
ExternalServiceConditionResponseType
object
9 properties
IncidentResponse
object
1 property
IncidentLinksResponse
object
2 properties
ConditionResponse
object
1 property
IJKTermsType
object
5 properties
SyntheticsConditionBody
object
4 properties
ConditionBody
object
10 properties
ExternalServiceConditionResponse
object
1 property
ExternalServiceConditionBody
object
8 properties
PolicyBody
object
2 properties
RecentEventResponse
object
1 property
NrqlResponse
object
2 properties
ChannelResponse
object
1 property
Condition
object
1 property
NrqlCondition
object
1 property
SyntheticsConditionResponse
object
1 property
RecentEventResponseType
object
10 properties
ViolationResponse
object
1 property
UserDefinedConditionBody
object
2 properties
ExternalServiceCondition
object
1 property
ChannelLinksResponse
object
1 property
PolicyResponseType
object
5 properties
NrqlConditionResponseType
object
10 properties
IncidentResponseType
object
5 properties
Policy
object
1 property
UserDefinedConditionResponse
object
2 properties
Channel
object
1 property
ConditionResponseType
object
12 properties
ViolationLinksResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

new-relic-alerts-api-openapi.yml Raw ↑

Other APIs New Relic publishes across the network.

New Relic NerdGraph API
New Relic Synthetics API
New Relic Infrastructure Alerts API
New Relic Browser API
New Relic Partnership API
New Relic Telemetry SDKs
New Relic OpenTelemetry OTLP Endpoint
New Relic Control
New Relic NRQL Lookups API
New Relic Security Data API
New Relic Mobile SDK
New Relic Applications API