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

The Condition API from New Relic — 5 operation(s) for condition.

New Relic Condition 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 Condition. 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 10 operations across 5 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.

10 operations 5 paths 21 schemas 5 DELETE5 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 Condition 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 10

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

Condition 10
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
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
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
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
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-condition-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