New Relic · Capability

New Relic — Get

New Relic — Get. 30 operations. Lead operation: New Relic Get Alerts Channels. Self-contained Naftiko capability covering one New Relic business surface.

Run with Naftiko New RelicGet

What You Can Do

GET
Getalertschannels — New Relic Get Alerts Channels
/v1/alerts-channels-json
GET
Getalertsconditions — New Relic Get Alerts Conditions
/v1/alerts-conditions-json
GET
Getalertsentityconditionsentityid — New Relic Get Alerts Entity Conditions Entity
/v1/alerts-entity-conditions/entity-id-json
GET
Getalertsevents — New Relic Get Alerts Events
/v1/alerts-events-json
GET
Getalertsexternalserviceconditions — New Relic Get Alerts External Service Conditions
/v1/alerts-external-service-conditions-json
GET
Getalertsincidents — New Relic Get Alerts Incidents
/v1/alerts-incidents-json
GET
Getalertslocationfailureconditionspoliciespolicyid — New Relic Get Alerts Location Failure Conditions Policies
/v1/alerts-location-failure-conditions/policies/policy-id-json
GET
Getalertsnrqlconditions — New Relic Get Alerts Nrql Conditions
/v1/alerts-nrql-conditions-json
GET
Getalertspolicies — New Relic Get Alerts Policies
/v1/alerts-policies-json
GET
Getalertssyntheticsconditions — New Relic Get Alerts Synthetics Conditions
/v1/alerts-synthetics-conditions-json
GET
Getalertsviolations — New Relic Get Alerts Violations
/v1/alerts-violations-json
GET
Getapplications — New Relic Get Applications
/v1/applications-json
GET
Getapplicationsiddeployments — New Relic Get Applications Deployments
/v1/applications/{application-id}/deployments-json
GET
Getapplicationsidhosts — New Relic Get Applications Hosts
/v1/applications/{application-id}/hosts-json
GET
Getapplicationsidhostshostidmetrics — New Relic Get Applications Hosts Host Metrics
/v1/applications/{application-id}/hosts/{host-id}/metrics-json
GET
Getapplicationsidhostshostidmetricsdata — New Relic Get Applications Hosts Host Metrics Data
/v1/applications/{application-id}/hosts/{host-id}/metrics/data-json
GET
Getapplicationsidhostsid — New Relic Get Applications Hosts
/v1/applications/{application-id}/hosts/id-json
GET
Getapplicationsidinstances — New Relic Get Applications Instances
/v1/applications/{application-id}/instances-json
GET
Getapplicationsidinstancesid — New Relic Get Applications Instances
/v1/applications/{application-id}/instances/id-json
GET
Getapplicationsidinstancesinstanceidmetrics — New Relic Get Applications Instances Instance Metrics
/v1/applications/{application-id}/instances/{instance-id}/metrics-json
GET
Getapplicationsidinstancesinstanceidmetricsdata — New Relic Get Applications Instances Instance Metrics Data
/v1/applications/{application-id}/instances/{instance-id}/metrics/data-json
GET
Getapplicationsidmetrics — New Relic Get Applications Metrics
/v1/applications/{application-id}/metrics-json
GET
Getapplicationsidmetricsdata — New Relic Get Applications Metrics Data
/v1/applications/{application-id}/metrics/data-json
GET
Getapplicationsid — New Relic Get Applications
/v1/applications/id-json
GET
Getkeytransactions — New Relic Get Key Transactions
/v1/key-transactions-json
GET
Getkeytransactionsid — New Relic Get Key Transactions
/v1/key-transactions/id-json
GET
Getmobileapplications — New Relic Get Mobile Applications
/v1/mobile-applications-json
GET
Getmobileapplicationsid — New Relic Get Mobile Applications
/v1/mobile-applications/id-json
GET
Getmobileapplicationsmobileapplicationidmetrics — New Relic Get Mobile Applications Mobile Application Metrics
/v1/mobile-applications/{mobile-application-id}/metrics-json
GET
Getmobileapplicationsmobileapplicationidmetricsdata — New Relic Get Mobile Applications Mobile Application Metrics Data
/v1/mobile-applications/{mobile-application-id}/metrics/data-json

MCP Tools

new-relic-get-alerts-channels

New Relic Get Alerts Channels

read-only idempotent
new-relic-get-alerts-conditions

New Relic Get Alerts Conditions

read-only idempotent
new-relic-get-alerts-entity

New Relic Get Alerts Entity Conditions Entity

read-only idempotent
new-relic-get-alerts-events

New Relic Get Alerts Events

read-only idempotent
new-relic-get-alerts-external

New Relic Get Alerts External Service Conditions

read-only idempotent
new-relic-get-alerts-incidents

New Relic Get Alerts Incidents

read-only idempotent
new-relic-get-alerts-location

New Relic Get Alerts Location Failure Conditions Policies

read-only idempotent
new-relic-get-alerts-nrql

New Relic Get Alerts Nrql Conditions

read-only idempotent
new-relic-get-alerts-policies

New Relic Get Alerts Policies

read-only idempotent
new-relic-get-alerts-synthetics

New Relic Get Alerts Synthetics Conditions

read-only idempotent
new-relic-get-alerts-violations

New Relic Get Alerts Violations

read-only idempotent
new-relic-get-applications

New Relic Get Applications

read-only idempotent
new-relic-get-applications-deployments

New Relic Get Applications Deployments

read-only idempotent
new-relic-get-applications-hosts

New Relic Get Applications Hosts

read-only idempotent
new-relic-get-applications-hosts-2

New Relic Get Applications Hosts Host Metrics

read-only idempotent
new-relic-get-applications-hosts-3

New Relic Get Applications Hosts Host Metrics Data

read-only idempotent
new-relic-get-applications-hosts-4

New Relic Get Applications Hosts

read-only idempotent
new-relic-get-applications-instances

New Relic Get Applications Instances

read-only idempotent
new-relic-get-applications-instances-2

New Relic Get Applications Instances

read-only idempotent
new-relic-get-applications-instances-3

New Relic Get Applications Instances Instance Metrics

read-only idempotent
new-relic-get-applications-instances-4

New Relic Get Applications Instances Instance Metrics Data

read-only idempotent
new-relic-get-applications-metrics

New Relic Get Applications Metrics

read-only idempotent
new-relic-get-applications-metrics-2

New Relic Get Applications Metrics Data

read-only idempotent
new-relic-get-applications-2

New Relic Get Applications

read-only idempotent
new-relic-get-key-transactions

New Relic Get Key Transactions

read-only idempotent
new-relic-get-key-transactions-2

New Relic Get Key Transactions

read-only idempotent
new-relic-get-mobile-applications

New Relic Get Mobile Applications

read-only idempotent
new-relic-get-mobile-applications-2

New Relic Get Mobile Applications

read-only idempotent
new-relic-get-mobile-applications-3

New Relic Get Mobile Applications Mobile Application Metrics

read-only idempotent
new-relic-get-mobile-applications-4

New Relic Get Mobile Applications Mobile Application Metrics Data

read-only idempotent

Capability Spec

new-relic-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: New Relic — Get
  description: 'New Relic — Get. 30 operations. Lead operation: New Relic Get Alerts Channels. Self-contained Naftiko capability
    covering one New Relic business surface.'
  tags:
  - New Relic
  - Get
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NEW_RELIC_API_KEY: NEW_RELIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: new-relic-get
    baseUri: https://api.newrelic.com/v2
    description: New Relic — Get business capability. Self-contained, no shared references.
    resources:
    - name: alerts_channels.json
      path: /alerts_channels.json
      operations:
      - name: getalertschannels
        method: GET
        description: New Relic Get Alerts Channels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_conditions.json
      path: /alerts_conditions.json
      operations:
      - name: getalertsconditions
        method: GET
        description: New Relic Get Alerts Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: query
          type: integer
          description: Alerts policy ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_entity_conditions-entity_id}.json
      path: /alerts_entity_conditions/{entity_id}.json
      operations:
      - name: getalertsentityconditionsentityid
        method: GET
        description: New Relic Get Alerts Entity Conditions Entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: entity_id
          in: path
          type: integer
          description: Entity ID
          required: true
        - name: entity_type
          in: query
          type: string
          description: Entity Type
          required: true
    - name: alerts_events.json
      path: /alerts_events.json
      operations:
      - name: getalertsevents
        method: GET
        description: New Relic Get Alerts Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter[product]
          in: query
          type: string
          description: Filter by New Relic product
        - name: filter[entity_type]
          in: query
          type: string
          description: Filter by entity type
        - name: filter[entity_group_id]
          in: query
          type: integer
          description: Filter by entity group ID
        - name: filter[entity_id]
          in: query
          type: integer
          description: Filter by entity ID
        - name: filter[event_type]
          in: query
          type: string
          description: Filter by event type
        - name: filter[incident_id]
          in: query
          type: integer
          description: Filter by incident id
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_external_service_conditions.json
      path: /alerts_external_service_conditions.json
      operations:
      - name: getalertsexternalserviceconditions
        method: GET
        description: New Relic Get Alerts External Service Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: query
          type: integer
          description: Alerts policy ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_incidents.json
      path: /alerts_incidents.json
      operations:
      - name: getalertsincidents
        method: GET
        description: New Relic Get Alerts Incidents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Pagination index
        - name: only_open
          in: query
          type: boolean
          description: Filter by open incidents
    - name: alerts_location_failure_conditions-policies-policy_id}.json
      path: /alerts_location_failure_conditions/policies/{policy_id}.json
      operations:
      - name: getalertslocationfailureconditionspoliciespolicyid
        method: GET
        description: New Relic Get Alerts Location Failure Conditions Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: path
          type: integer
          description: Alerts policy ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_nrql_conditions.json
      path: /alerts_nrql_conditions.json
      operations:
      - name: getalertsnrqlconditions
        method: GET
        description: New Relic Get Alerts Nrql Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: query
          type: integer
          description: Alerts policy ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_policies.json
      path: /alerts_policies.json
      operations:
      - name: getalertspolicies
        method: GET
        description: New Relic Get Alerts Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter[name]
          in: query
          type: string
          description: Name (must be exact match)
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_synthetics_conditions.json
      path: /alerts_synthetics_conditions.json
      operations:
      - name: getalertssyntheticsconditions
        method: GET
        description: New Relic Get Alerts Synthetics Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: query
          type: integer
          description: Alerts policy ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: alerts_violations.json
      path: /alerts_violations.json
      operations:
      - name: getalertsviolations
        method: GET
        description: New Relic Get Alerts Violations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Pagination index
        - name: start_date
          in: query
          type: string
          description: Retrieve violations created after this time
        - name: end_date
          in: query
          type: string
          description: Retrieve violations created before this time
        - name: only_open
          in: query
          type: boolean
          description: Filter by open violations
    - name: applications.json
      path: /applications.json
      operations:
      - name: getapplications
        method: GET
        description: New Relic Get Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter[name]
          in: query
          type: string
          description: Filter by application name
        - name: filter[host]
          in: query
          type: string
          description: Filter by application host
        - name: filter[ids]
          in: query
          type: array
          description: Filter by application ids
        - name: filter[language]
          in: query
          type: string
          description: Filter by application language
        - name: exclude_links
          in: query
          type: boolean
          description: Exclude links section from the response
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: applications-application_id-deployments.json
      path: /applications/{application_id}/deployments.json
      operations:
      - name: getapplicationsiddeployments
        method: GET
        description: New Relic Get Applications Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: applications-application_id-hosts.json
      path: /applications/{application_id}/hosts.json
      operations:
      - name: getapplicationsidhosts
        method: GET
        description: New Relic Get Applications Hosts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: filter[hostname]
          in: query
          type: string
          description: Filter by server hostname
        - name: filter[ids]
          in: query
          type: array
          description: Filter by application host ids
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: applications-application_id-hosts-host_id-metrics.json
      path: /applications/{application_id}/hosts/{host_id}/metrics.json
      operations:
      - name: getapplicationsidhostshostidmetrics
        method: GET
        description: New Relic Get Applications Hosts Host Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: host_id
          in: path
          type: integer
          description: Application Host ID
          required: true
        - name: name
          in: query
          type: string
          description: Filter metrics by name
        - name: page
          in: query
          type: integer
          description: Pagination index (will be deprecated)
        - name: cursor
          in: query
          type: string
          description: Cursor for next page (replacing page param)
    - name: applications-application_id-hosts-host_id-metrics-data.json
      path: /applications/{application_id}/hosts/{host_id}/metrics/data.json
      operations:
      - name: getapplicationsidhostshostidmetricsdata
        method: GET
        description: New Relic Get Applications Hosts Host Metrics Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: host_id
          in: path
          type: integer
          description: Application Host ID
          required: true
        - name: names
          in: query
          type: array
          description: Retrieve specific metrics by name
          required: true
        - name: values
          in: query
          type: array
          description: Retrieve specific metric values
        - name: from
          in: query
          type: string
          description: Retrieve metrics after this time
        - name: to
          in: query
          type: string
          description: Retrieve metrics before this time
        - name: period
          in: query
          type: integer
          description: Period of timeslices in seconds
        - name: summarize
          in: query
          type: boolean
          description: Summarize the data
        - name: raw
          in: query
          type: boolean
          description: Return unformatted raw values
    - name: applications-application_id-hosts-id}.json
      path: /applications/{application_id}/hosts/{id}.json
      operations:
      - name: getapplicationsidhostsid
        method: GET
        description: New Relic Get Applications Hosts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: id
          in: path
          type: integer
          description: Application host ID
          required: true
    - name: applications-application_id-instances.json
      path: /applications/{application_id}/instances.json
      operations:
      - name: getapplicationsidinstances
        method: GET
        description: New Relic Get Applications Instances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: filter[hostname]
          in: query
          type: string
          description: Filter by server hostname
        - name: filter[ids]
          in: query
          type: array
          description: Filter by application instance ids
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: applications-application_id-instances-id}.json
      path: /applications/{application_id}/instances/{id}.json
      operations:
      - name: getapplicationsidinstancesid
        method: GET
        description: New Relic Get Applications Instances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: id
          in: path
          type: integer
          description: Application instance ID
          required: true
    - name: applications-application_id-instances-instance_id-metrics.json
      path: /applications/{application_id}/instances/{instance_id}/metrics.json
      operations:
      - name: getapplicationsidinstancesinstanceidmetrics
        method: GET
        description: New Relic Get Applications Instances Instance Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: instance_id
          in: path
          type: integer
          description: Application Instance ID
          required: true
        - name: name
          in: query
          type: string
          description: Filter metrics by name
        - name: page
          in: query
          type: integer
          description: Pagination index (will be deprecated)
        - name: cursor
          in: query
          type: string
          description: Cursor for next page (replacing page param)
    - name: applications-application_id-instances-instance_id-metrics-data.json
      path: /applications/{application_id}/instances/{instance_id}/metrics/data.json
      operations:
      - name: getapplicationsidinstancesinstanceidmetricsdata
        method: GET
        description: New Relic Get Applications Instances Instance Metrics Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: instance_id
          in: path
          type: integer
          description: Application Instance ID
          required: true
        - name: names
          in: query
          type: array
          description: Retrieve specific metrics by name
          required: true
        - name: values
          in: query
          type: array
          description: Retrieve specific metric values
        - name: from
          in: query
          type: string
          description: Retrieve metrics after this time
        - name: to
          in: query
          type: string
          description: Retrieve metrics before this time
        - name: period
          in: query
          type: integer
          description: Period of timeslices in seconds
        - name: summarize
          in: query
          type: boolean
          description: Summarize the data
        - name: raw
          in: query
          type: boolean
          description: Return unformatted raw values
    - name: applications-application_id-metrics.json
      path: /applications/{application_id}/metrics.json
      operations:
      - name: getapplicationsidmetrics
        method: GET
        description: New Relic Get Applications Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: name
          in: query
          type: string
          description: Filter metrics by name
        - name: page
          in: query
          type: integer
          description: Pagination index (will be deprecated)
        - name: cursor
          in: query
          type: string
          description: Cursor for next page (replacing page param)
    - name: applications-application_id-metrics-data.json
      path: /applications/{application_id}/metrics/data.json
      operations:
      - name: getapplicationsidmetricsdata
        method: GET
        description: New Relic Get Applications Metrics Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application_id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: names
          in: query
          type: array
          description: Retrieve specific metrics by name
          required: true
        - name: values
          in: query
          type: array
          description: Retrieve specific metric values
        - name: from
          in: query
          type: string
          description: Retrieve metrics after this time
        - name: to
          in: query
          type: string
          description: Retrieve metrics before this time
        - name: period
          in: query
          type: integer
          description: Period of timeslices in seconds
        - name: summarize
          in: query
          type: boolean
          description: Summarize the data
        - name: raw
          in: query
          type: boolean
          description: Return unformatted raw values
    - name: applications-id}.json
      path: /applications/{id}.json
      operations:
      - name: getapplicationsid
        method: GET
        description: New Relic Get Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Application ID
          required: true
    - name: key_transactions.json
      path: /key_transactions.json
      operations:
      - name: getkeytransactions
        method: GET
        description: New Relic Get Key Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter[name]
          in: query
          type: string
          description: Filter by name
        - name: filter[ids]
          in: query
          type: array
          description: Filter by policy IDs
        - name: page
          in: query
          type: integer
          description: Pagination index
    - name: key_transactions-id}.json
      path: /key_transactions/{id}.json
      operations:
      - name: getkeytransactionsid
        method: GET
        description: New Relic Get Key Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Key transaction ID
          required: true
    - name: mobile_applications.json
      path: /mobile_applications.json
      operations:
      - name: getmobileapplications
        method: GET
        description: New Relic Get Mobile Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mobile_applications-id}.json
      path: /mobile_applications/{id}.json
      operations:
      - name: getmobileapplicationsid
        method: GET
        description: New Relic Get Mobile Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Mobile Application ID
          required: true
    - name: mobile_applications-mobile_application_id-metrics.json
      path: /mobile_applications/{mobile_application_id}/metrics.json
      operations:
      - name: getmobileapplicationsmobileapplicationidmetrics
        method: GET
        description: New Relic Get Mobile Applications Mobile Application Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mobile_application_id
          in: path
          type: integer
          description: Mobile application ID
          required: true
        - name: name
          in: query
          type: string
          description: Filter metrics by name
        - name: page
          in: query
          type: integer
          description: Pagination index (will be deprecated)
        - name: cursor
          in: query
          type: string
          description: Cursor for next page (replacing page param)
    - name: mobile_applications-mobile_application_id-metrics-data.json
      path: /mobile_applications/{mobile_application_id}/metrics/data.json
      operations:
      - name: getmobileapplicationsmobileapplicationidmetricsdata
        method: GET
        description: New Relic Get Mobile Applications Mobile Application Metrics Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mobile_application_id
          in: path
          type: integer
          description: Mobile application ID
          required: true
        - name: names
          in: query
          type: array
          description: Retrieve specific metrics by name
          required: true
        - name: values
          in: query
          type: array
          description: Retrieve specific metric values
        - name: from
          in: query
          type: string
          description: Retrieve metrics after this time
        - name: to
          in: query
          type: string
          description: Retrieve metrics before this time
        - name: period
          in: query
          type: integer
          description: Period of timeslices in seconds
        - name: summarize
          in: query
          type: boolean
          description: Summarize the data
        - name: raw
          in: query
          type: boolean
          description: Return unformatted raw values
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.NEW_RELIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: new-relic-get-rest
    port: 8080
    description: REST adapter for New Relic — Get. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/alerts-channels-json
      name: alerts-channels-json
      description: REST surface for alerts_channels.json.
      operations:
      - method: GET
        name: getalertschannels
        description: New Relic Get Alerts Channels
        call: new-relic-get.getalertschannels
        with:
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-conditions-json
      name: alerts-conditions-json
      description: REST surface for alerts_conditions.json.
      operations:
      - method: GET
        name: getalertsconditions
        description: New Relic Get Alerts Conditions
        call: new-relic-get.getalertsconditions
        with:
          policy_id: rest.policy_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-entity-conditions/entity-id-json
      name: alerts-entity-conditions-entity-id-json
      description: REST surface for alerts_entity_conditions-entity_id}.json.
      operations:
      - method: GET
        name: getalertsentityconditionsentityid
        description: New Relic Get Alerts Entity Conditions Entity
        call: new-relic-get.getalertsentityconditionsentityid
        with:
          entity_id: rest.entity_id
          entity_type: rest.entity_type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-events-json
      name: alerts-events-json
      description: REST surface for alerts_events.json.
      operations:
      - method: GET
        name: getalertsevents
        description: New Relic Get Alerts Events
        call: new-relic-get.getalertsevents
        with:
          filter[product]: rest.filter[product]
          filter[entity_type]: rest.filter[entity_type]
          filter[entity_group_id]: rest.filter[entity_group_id]
          filter[entity_id]: rest.filter[entity_id]
          filter[event_type]: rest.filter[event_type]
          filter[incident_id]: rest.filter[incident_id]
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-external-service-conditions-json
      name: alerts-external-service-conditions-json
      description: REST surface for alerts_external_service_conditions.json.
      operations:
      - method: GET
        name: getalertsexternalserviceconditions
        description: New Relic Get Alerts External Service Conditions
        call: new-relic-get.getalertsexternalserviceconditions
        with:
          policy_id: rest.policy_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-incidents-json
      name: alerts-incidents-json
      description: REST surface for alerts_incidents.json.
      operations:
      - method: GET
        name: getalertsincidents
        description: New Relic Get Alerts Incidents
        call: new-relic-get.getalertsincidents
        with:
          page: rest.page
          only_open: rest.only_open
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-location-failure-conditions/policies/policy-id-json
      name: alerts-location-failure-conditions-policies-policy-id-json
      description: REST surface for alerts_location_failure_conditions-policies-policy_id}.json.
      operations:
      - method: GET
        name: getalertslocationfailureconditionspoliciespolicyid
        description: New Relic Get Alerts Location Failure Conditions Policies
        call: new-relic-get.getalertslocationfailureconditionspoliciespolicyid
        with:
          policy_id: rest.policy_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-nrql-conditions-json
      name: alerts-nrql-conditions-json
      description: REST surface for alerts_nrql_conditions.json.
      operations:
      - method: GET
        name: getalertsnrqlconditions
        description: New Relic Get Alerts Nrql Conditions
        call: new-relic-get.getalertsnrqlconditions
        with:
          policy_id: rest.policy_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-policies-json
      name: alerts-policies-json
      description: REST surface for alerts_policies.json.
      operations:
      - method: GET
        name: getalertspolicies
        description: New Relic Get Alerts Policies
        call: new-relic-get.getalertspolicies
        with:
          filter[name]: rest.filter[name]
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-synthetics-conditions-json
      name: alerts-synthetics-conditions-json
      description: REST surface for alerts_synthetics_conditions.json.
      operations:
      - method: GET
        name: getalertssyntheticsconditions
        description: New Relic Get Alerts Synthetics Conditions
        call: new-relic-get.getalertssyntheticsconditions
        with:
          policy_id: rest.policy_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-violations-json
      name: alerts-violations-json
      description: REST surface for alerts_violations.json.
      operations:
      - method: GET
        name: getalertsviolations
        description: New Relic Get Alerts Violations
        call: new-relic-get.getalertsviolations
        with:
          page: rest.page
          start_date: rest.start_date
          end_date: rest.end_date
          only_open: rest.only_open
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications-json
      name: applications-json
      description: REST surface for applications.json.
      operations:
      - method: GET
        name: getapplications
        description: New Relic Get Applications
        call: new-relic-get.getapplications
        with:
          filter[name]: rest.filter[name]
          filter[host]: rest.filter[host]
          filter[ids]: rest.filter[ids]
          filter[language]: rest.filter[language]
          exclude_links: rest.exclude_links
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/deployments-json
      name: applications-application-id-deployments-json
      description: REST surface for applications-application_id-deployments.json.
      operations:
      - method: GET
        name: getapplicationsiddeployments
        description: New Relic Get Applications Deployments
        call: new-relic-get.getapplicationsiddeployments
        with:
          application_id: rest.application_id
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{app

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/capabilities/new-relic-get.yaml