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 Conditions API

The Conditions API from New Relic — 15 operation(s) for conditions.

New Relic Conditions 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 Conditions. 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 23 operations across 15 paths, and defines 21 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.

23 operations 15 paths 21 schemas 6 DELETE6 GET5 POST6 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 Conditions 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 23

Across 15 paths, the API surfaces 23 operations — 6 DELETE, 6 GET, 5 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.

Conditions 23
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_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_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_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

Schemas 21

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

SyntheticsCondition
object
1 property
NrqlConditionBody
object
8 properties
NrqlConditionResponse
object
1 property
NrqlBody
object
2 properties
SyntheticsConditionResponseType
object
5 properties
ExternalServiceConditionResponseType
object
9 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
NrqlResponse
object
2 properties
Condition
object
1 property
NrqlCondition
object
1 property
SyntheticsConditionResponse
object
1 property
UserDefinedConditionBody
object
2 properties
ExternalServiceCondition
object
1 property
NrqlConditionResponseType
object
10 properties
UserDefinedConditionResponse
object
2 properties
ConditionResponseType
object
12 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs New Relic publishes across the network.

New Relic NerdGraph API
New Relic Alerts 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