openapi: 3.1.0 info: title: New Relic Event Alerts Condition API description: The New Relic Event API allows you to send custom event data to the New Relic platform via HTTP POST. Custom events submitted through this API can be queried and visualized using NRQL, making it suitable for tracking arbitrary business or application events. Each event is a JSON object with an eventType and any number of additional attribute key-value pairs. version: '1' contact: name: New Relic Support url: https://support.newrelic.com/ termsOfService: https://newrelic.com/termsandconditions/terms x-last-validated: '2026-04-18' servers: - url: https://insights-collector.newrelic.com description: US Production - url: https://insights-collector.eu01.nr-data.net description: EU Production security: - apiKey: [] tags: - name: Condition paths: /alerts_conditions/{condition_id}.json: put: tags: - Condition summary: New Relic Put Alerts Conditions description: '🔥🔥 New users should use these docs about managing alerts via NerdGraph.

This API endpoint allows you to update APM Application and Key Transaction, Browser and Mobile application metric conditions for your alert policies.

Conditions for web transaction percentiles, or conditions targeting labels (dynamic targeting), are not available.

Note: Admin User’s API Key is required.

See Alerts Conditions > Create for an explanation of the field values or the online documentation on updating conditions for policies.

' parameters: - name: condition_id in: path description: Alerts condition to update required: true schema: type: integer example: 100 requestBody: description: Condition schema content: application/json: schema: $ref: '#/components/schemas/Condition' examples: PutalertsconditionsconditionidRequestExample: summary: Default putAlertsConditionsConditionId request x-microcks-default: true value: condition: condition_scope: example_value enabled: true entities: - {} gc_metric: example_value metric: example_value name: Example Title terms: - {} type: example_value violation_close_timer: 10 application/xml: schema: $ref: '#/components/schemas/Condition' examples: PutalertsconditionsconditionidRequestExample: summary: Default putAlertsConditionsConditionId request x-microcks-default: true value: condition: condition_scope: example_value enabled: true entities: - {} gc_metric: example_value metric: example_value name: Example Title terms: - {} type: example_value violation_close_timer: 10 required: true responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ConditionResponse' examples: Putalertsconditionsconditionid200Example: summary: Default putAlertsConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} application/xml: schema: $ref: '#/components/schemas/ConditionResponse' examples: Putalertsconditionsconditionid200Example: summary: Default putAlertsConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} x-codegen-request-body-name: condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: putAlertsConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: tags: - Condition summary: New Relic Delete Alerts Conditions description: '🔥🔥 New users should use these docs about managing alerts via NerdGraph.

This API endpoint allows you to delete APM Application and Key Transaction, Browser and Mobile application metric conditions for your alert policies.

Conditions for web transaction percentiles, or conditions targeting labels (dynamic targeting), are not available.

Note: Admin User’s API Key is required.

See our documentation for a discussion on deleting conditions.

' parameters: - name: condition_id in: path description: Alerts condition ID required: true schema: type: integer example: 100 responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ConditionResponse' examples: Deletealertsconditionsconditionid200Example: summary: Default deleteAlertsConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} application/xml: schema: $ref: '#/components/schemas/ConditionResponse' examples: Deletealertsconditionsconditionid200Example: summary: Default deleteAlertsConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: deleteAlertsConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK /alerts_external_service_conditions/{condition_id}.json: put: tags: - Condition summary: New Relic Put Alerts External Service Conditions description: '🔥🔥 New users should use NRQL Alert Conditions, refer to these docs about managing alerts via NerdGraph.

This API endpoint allows you to update external service conditions for your alert policies.

Note: Admin User’s API Key is required.

See Alerts External Service Conditions > Create for an explanation of the field values used in this command or the online documentation on updating conditions for external services.

' parameters: - name: condition_id in: path description: Alerts condition to update required: true schema: type: integer example: 100 requestBody: description: Condition schema content: application/json: schema: $ref: '#/components/schemas/ExternalServiceCondition' examples: PutalertsexternalserviceconditionsconditionidRequestExample: summary: Default putAlertsExternalServiceConditionsConditionId request x-microcks-default: true value: external_service_condition: enabled: true entities: - {} external_service_url: https://www.example.com metric: example_value name: Example Title runbook_url: https://www.example.com terms: - {} type: example_value application/xml: schema: $ref: '#/components/schemas/ExternalServiceCondition' examples: PutalertsexternalserviceconditionsconditionidRequestExample: summary: Default putAlertsExternalServiceConditionsConditionId request x-microcks-default: true value: external_service_condition: enabled: true entities: - {} external_service_url: https://www.example.com metric: example_value name: Example Title runbook_url: https://www.example.com terms: - {} type: example_value required: true responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ExternalServiceConditionResponse' examples: Putalertsexternalserviceconditionsconditionid200Example: summary: Default putAlertsExternalServiceConditionsConditionId 200 response x-microcks-default: true value: external_service_condition: enabled: {} entities: {} external_service_url: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} application/xml: schema: $ref: '#/components/schemas/ExternalServiceConditionResponse' examples: Putalertsexternalserviceconditionsconditionid200Example: summary: Default putAlertsExternalServiceConditionsConditionId 200 response x-microcks-default: true value: external_service_condition: enabled: {} entities: {} external_service_url: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} x-codegen-request-body-name: external_service_condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: putAlertsExternalServiceConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: tags: - Condition summary: New Relic Delete Alerts External Service Conditions description: '🔥🔥 New users should use NRQL Alert Conditions, refer to these docs about managing alerts via NerdGraph.

This API endpoint allows you to delete external service conditions associated with your alert policy.

Note: Admin User’s API Key is required.

See our documentation for a discussion on deleting External services conditions.

' parameters: - name: condition_id in: path description: Alerts condition ID required: true schema: type: integer example: 100 responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ExternalServiceConditionResponse' examples: Deletealertsexternalserviceconditionsconditionid200Example: summary: Default deleteAlertsExternalServiceConditionsConditionId 200 response x-microcks-default: true value: external_service_condition: enabled: {} entities: {} external_service_url: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} application/xml: schema: $ref: '#/components/schemas/ExternalServiceConditionResponse' examples: Deletealertsexternalserviceconditionsconditionid200Example: summary: Default deleteAlertsExternalServiceConditionsConditionId 200 response x-microcks-default: true value: external_service_condition: enabled: {} entities: {} external_service_url: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: deleteAlertsExternalServiceConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK /alerts_location_failure_conditions/{condition_id}.json: put: tags: - Condition summary: New Relic Put Alerts Location Failure Conditions description: '🔥 This endpoint will be deprecated after 2024/01 🔥 New users should use these docs about managing alerts via NerdGraph.

This API endpoint allows you to update the alerts location failure conditions for your Alerts policy.

' parameters: - name: condition_id in: path description: Alerts condition to update required: true schema: type: integer example: 100 requestBody: description: Condition schema content: application/json: schema: $ref: '#/components/schemas/Condition' examples: PutalertslocationfailureconditionsconditionidRequestExample: summary: Default putAlertsLocationFailureConditionsConditionId request x-microcks-default: true value: condition: condition_scope: example_value enabled: true entities: - {} gc_metric: example_value metric: example_value name: Example Title terms: - {} type: example_value violation_close_timer: 10 application/xml: schema: $ref: '#/components/schemas/Condition' examples: PutalertslocationfailureconditionsconditionidRequestExample: summary: Default putAlertsLocationFailureConditionsConditionId request x-microcks-default: true value: condition: condition_scope: example_value enabled: true entities: - {} gc_metric: example_value metric: example_value name: Example Title terms: - {} type: example_value violation_close_timer: 10 required: true responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ConditionResponse' examples: Putalertslocationfailureconditionsconditionid200Example: summary: Default putAlertsLocationFailureConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} application/xml: schema: $ref: '#/components/schemas/ConditionResponse' examples: Putalertslocationfailureconditionsconditionid200Example: summary: Default putAlertsLocationFailureConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} x-codegen-request-body-name: condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: putAlertsLocationFailureConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: tags: - Condition summary: New Relic Delete Alerts Location Failure Conditions description: '🔥 This endpoint will be deprecated after 2024/01 🔥 New users should use these docs about managing alerts via NerdGraph.

This API endpoint allows you to Delete the alerts location failure conditions for your Alerts policy.

' parameters: - name: condition_id in: path description: Alerts condition ID required: true schema: type: integer example: 100 responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/ConditionResponse' examples: Deletealertslocationfailureconditionsconditionid200Example: summary: Default deleteAlertsLocationFailureConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} application/xml: schema: $ref: '#/components/schemas/ConditionResponse' examples: Deletealertslocationfailureconditionsconditionid200Example: summary: Default deleteAlertsLocationFailureConditionsConditionId 200 response x-microcks-default: true value: condition: condition_scope: {} enabled: {} entities: {} gc_metric: {} id: {} metric: {} name: {} runbook_url: {} terms: {} type: {} user_defined: {} violation_close_timer: {} x-codegen-request-body-name: condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: deleteAlertsLocationFailureConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK /alerts_nrql_conditions/{condition_id}.json: put: tags: - Condition summary: New Relic Put Alerts Nrql Conditions description: '🔥🔥 New users should use these docs about managing alerts via NerdGraph. ' parameters: - name: condition_id in: path description: Alerts condition to update required: true schema: type: integer example: 100 requestBody: description: Condition schema content: application/json: schema: $ref: '#/components/schemas/NrqlCondition' examples: PutalertsnrqlconditionsconditionidRequestExample: summary: Default putAlertsNrqlConditionsConditionId request x-microcks-default: true value: nrql_condition: enabled: true expected_groups: 10 ignore_overlap: true name: Example Title runbook_url: https://www.example.com terms: - {} value_function: example_value application/xml: schema: $ref: '#/components/schemas/NrqlCondition' examples: PutalertsnrqlconditionsconditionidRequestExample: summary: Default putAlertsNrqlConditionsConditionId request x-microcks-default: true value: nrql_condition: enabled: true expected_groups: 10 ignore_overlap: true name: Example Title runbook_url: https://www.example.com terms: - {} value_function: example_value required: true responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/NrqlConditionResponse' examples: Putalertsnrqlconditionsconditionid200Example: summary: Default putAlertsNrqlConditionsConditionId 200 response x-microcks-default: true value: nrql_condition: enabled: {} expected_groups: {} id: {} ignore_overlap: {} name: {} nrql: {} runbook_url: {} terms: {} type: {} value_function: {} application/xml: schema: $ref: '#/components/schemas/NrqlConditionResponse' examples: Putalertsnrqlconditionsconditionid200Example: summary: Default putAlertsNrqlConditionsConditionId 200 response x-microcks-default: true value: nrql_condition: enabled: {} expected_groups: {} id: {} ignore_overlap: {} name: {} nrql: {} runbook_url: {} terms: {} type: {} value_function: {} x-codegen-request-body-name: nrql_condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: putAlertsNrqlConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: tags: - Condition summary: New Relic Delete Alerts Nrql Conditions description: '🔥🔥 New users should use these docs about managing alerts via NerdGraph. ' parameters: - name: condition_id in: path description: Alerts condition ID required: true schema: type: integer example: 100 responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/NrqlConditionResponse' examples: Deletealertsnrqlconditionsconditionid200Example: summary: Default deleteAlertsNrqlConditionsConditionId 200 response x-microcks-default: true value: nrql_condition: enabled: {} expected_groups: {} id: {} ignore_overlap: {} name: {} nrql: {} runbook_url: {} terms: {} type: {} value_function: {} application/xml: schema: $ref: '#/components/schemas/NrqlConditionResponse' examples: Deletealertsnrqlconditionsconditionid200Example: summary: Default deleteAlertsNrqlConditionsConditionId 200 response x-microcks-default: true value: nrql_condition: enabled: {} expected_groups: {} id: {} ignore_overlap: {} name: {} nrql: {} runbook_url: {} terms: {} type: {} value_function: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: deleteAlertsNrqlConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK /alerts_synthetics_conditions/{condition_id}.json: put: tags: - Condition summary: New Relic Put Alerts Synthetics Conditions description: '🔥🔥 New users should use NRQL Alert Conditions, refer to these docs about managing alerts via NerdGraph.

This API endpoint allows you to update Synthetics conditions for your alert policies.

Note: Admin User’s API Key is required.

See our documentation for a discussion on updating Synthetic conditions.

See Alerts Synthetics Conditions > Create for an explanation of the field values used in this command.

' parameters: - name: condition_id in: path description: Alerts condition to update required: true schema: type: integer example: 100 requestBody: description: Condition schema content: application/json: schema: $ref: '#/components/schemas/SyntheticsCondition' examples: PutalertssyntheticsconditionsconditionidRequestExample: summary: Default putAlertsSyntheticsConditionsConditionId request x-microcks-default: true value: synthetics_condition: enabled: true monitor_id: '500123' name: Example Title runbook_url: https://www.example.com application/xml: schema: $ref: '#/components/schemas/SyntheticsCondition' examples: PutalertssyntheticsconditionsconditionidRequestExample: summary: Default putAlertsSyntheticsConditionsConditionId request x-microcks-default: true value: synthetics_condition: enabled: true monitor_id: '500123' name: Example Title runbook_url: https://www.example.com required: true responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/SyntheticsConditionResponse' examples: Putalertssyntheticsconditionsconditionid200Example: summary: Default putAlertsSyntheticsConditionsConditionId 200 response x-microcks-default: true value: synthetics_condition: enabled: {} id: {} monitor_id: {} name: {} runbook_url: {} application/xml: schema: $ref: '#/components/schemas/SyntheticsConditionResponse' examples: Putalertssyntheticsconditionsconditionid200Example: summary: Default putAlertsSyntheticsConditionsConditionId 200 response x-microcks-default: true value: synthetics_condition: enabled: {} id: {} monitor_id: {} name: {} runbook_url: {} x-codegen-request-body-name: synthetics_condition x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: putAlertsSyntheticsConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: tags: - Condition summary: New Relic Delete Alerts Synthetics Conditions description: '🔥🔥 New users should use NRQL Alert Conditions, refer to these docs about managing alerts via NerdGraph.

This API endpoint allows you to delete Synthetics conditions associated with your alert policy.

Note: Admin User’s API Key is required.

See our documentation for a discussion on deleting Synthetic conditions.

' parameters: - name: condition_id in: path description: Alerts condition ID required: true schema: type: integer example: 100 responses: '200': description: No response was specified content: application/json: schema: $ref: '#/components/schemas/SyntheticsConditionResponse' examples: Deletealertssyntheticsconditionsconditionid200Example: summary: Default deleteAlertsSyntheticsConditionsConditionId 200 response x-microcks-default: true value: synthetics_condition: enabled: {} id: {} monitor_id: {} name: {} runbook_url: {} application/xml: schema: $ref: '#/components/schemas/SyntheticsConditionResponse' examples: Deletealertssyntheticsconditionsconditionid200Example: summary: Default deleteAlertsSyntheticsConditionsConditionId 200 response x-microcks-default: true value: synthetics_condition: enabled: {} id: {} monitor_id: {} name: {} runbook_url: {} x-api-evangelist-processing: PascalCaseOperationSummaries: true CaselCaseOperationIds: true GenerateOperationSummariesFromPath: true ChooseTags: true operationId: deleteAlertsSyntheticsConditionsConditionId x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: SyntheticsCondition: type: object properties: synthetics_condition: $ref: '#/components/schemas/SyntheticsConditionBody' NrqlConditionBody: type: object properties: enabled: type: boolean example: true expected_groups: type: integer example: 100 ignore_overlap: type: boolean example: true name: type: string example: example-resource-01 nrql: $ref: '#/components/schemas/NrqlBody' runbook_url: type: string example: https://portal.example.com/path/abc123 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string value_function: type: string example: example_string NrqlConditionResponse: type: object properties: nrql_condition: $ref: '#/components/schemas/NrqlConditionResponseType' NrqlBody: type: object properties: query: type: string example: example_string since_value: type: string example: example_string SyntheticsConditionResponseType: type: object properties: enabled: type: boolean example: true id: type: integer example: 100 monitor_id: type: string example: '500123' name: type: string example: example-resource-01 runbook_url: type: string example: https://portal.example.com/path/abc123 ExternalServiceConditionResponseType: type: object properties: enabled: type: boolean example: true entities: type: array items: type: integer example: - 100 external_service_url: type: string example: https://portal.example.com/path/abc123 id: type: integer example: 100 metric: type: string example: example_string name: type: string example: example-resource-01 runbook_url: type: string example: https://portal.example.com/path/abc123 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string type: type: string example: standard ConditionResponse: type: object properties: condition: $ref: '#/components/schemas/ConditionResponseType' IJKTermsType: type: object properties: duration: type: string example: example_string operator: type: string example: example_string priority: type: string example: example_string threshold: type: string example: example_string time_function: type: string example: example_string SyntheticsConditionBody: type: object properties: enabled: type: boolean example: true monitor_id: type: string example: '500123' name: type: string example: example-resource-01 runbook_url: type: string example: https://portal.example.com/path/abc123 ConditionBody: type: object properties: condition_scope: type: string example: example_string enabled: type: boolean example: true entities: type: array items: type: integer example: - 100 gc_metric: type: string example: example_string metric: type: string example: example_string name: type: string example: example-resource-01 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string type: type: string example: standard user_defined: $ref: '#/components/schemas/UserDefinedConditionBody' violation_close_timer: type: integer example: 1718153645993 ExternalServiceConditionResponse: type: object properties: external_service_condition: $ref: '#/components/schemas/ExternalServiceConditionResponseType' ExternalServiceConditionBody: type: object properties: enabled: type: boolean example: true entities: type: array items: type: integer example: - 100 external_service_url: type: string example: https://portal.example.com/path/abc123 metric: type: string example: example_string name: type: string example: example-resource-01 runbook_url: type: string example: https://portal.example.com/path/abc123 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string type: type: string example: standard NrqlResponse: type: object properties: query: type: string example: example_string since_value: type: string example: example_string Condition: type: object properties: condition: $ref: '#/components/schemas/ConditionBody' NrqlCondition: type: object properties: nrql_condition: $ref: '#/components/schemas/NrqlConditionBody' SyntheticsConditionResponse: type: object properties: synthetics_condition: $ref: '#/components/schemas/SyntheticsConditionResponseType' UserDefinedConditionBody: type: object properties: metric: type: string example: example_string value_function: type: string example: example_string ExternalServiceCondition: type: object properties: external_service_condition: $ref: '#/components/schemas/ExternalServiceConditionBody' NrqlConditionResponseType: type: object properties: enabled: type: boolean example: true expected_groups: type: integer example: 100 id: type: integer example: 100 ignore_overlap: type: boolean example: true name: type: string example: example-resource-01 nrql: $ref: '#/components/schemas/NrqlResponse' runbook_url: type: string example: https://portal.example.com/path/abc123 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string type: type: string example: standard value_function: type: string example: example_string UserDefinedConditionResponse: type: object properties: metric: type: string example: example_string value_function: type: string example: example_string ConditionResponseType: type: object properties: condition_scope: type: string example: example_string enabled: type: boolean example: true entities: type: array items: type: integer example: - 100 gc_metric: type: string example: example_string id: type: integer example: 100 metric: type: string example: example_string name: type: string example: example-resource-01 runbook_url: type: string example: https://portal.example.com/path/abc123 terms: type: array items: $ref: '#/components/schemas/IJKTermsType' example: - duration: example_string operator: example_string priority: example_string threshold: example_string time_function: example_string type: type: string example: standard user_defined: $ref: '#/components/schemas/UserDefinedConditionResponse' violation_close_timer: type: integer example: 1718153645993 securitySchemes: apiKey: type: apiKey in: header name: Api-Key description: New Relic License Key or Ingest API Key externalDocs: description: New Relic Event API Documentation url: https://docs.newrelic.com/docs/data-apis/ingest-apis/event-api/introduction-event-api/