• EnglishEspañol日本語한국어Português
  • Log inStart now

Working with the New Relic REST API (v1) (EOL)

Important

New Relic REST API Version 1 has reached end of life (EOL) and is no longer functional. Migrate your v1 scripts to their NerdGraph equivalent to maintain functionality.

Here are a few examples of alternatives to common tasks.

To get information related to accounts that your user can access:

actor {
organization {
accountManagement {
managedAccounts {
id
name
}
}
}
}

See Manage Accounts

To get a list of applications that a user can access, you can use entitySearch in NerdGraph:

{
actor {
entitySearch(queryBuilder: {domain: APM, type: APPLICATION}) {
query
results {
entities {
name
entityType
guid
... on ApmApplicationEntityOutline {
accountId
}
}
}
}
}
}

See Entity Search

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.