New Relic's REST API Explorer (v2) makes it easy to test and send requests for any available API endpoint. After you select your choice of functions for the type of API call (applications, browsers, etc.), the user interface provides an interactive form to view requirements and test your parameter values. It also provides a live source of documentation about the API values.
API key requirements
Before you can use the API Explorer, API access must be activated and an API key must be generated for your account.
We recommend using the , not the REST API key, because the user key has fewer restrictions.
- If you're signed in to New Relic, when you use the API Explorer you can choose your API key at the top of the UI and that key will appear automatically in the Request and Parameters sections of the Explorer.
- If you're not signed in to New Relic, you can paste your API key into the API Explorer's Parameters.
Access the API Explorer
To use the New Relic API Explorer:
- Go to rpm.newrelic.com/api/explore.
- From the API Explorer's menu bar, select the account name for your app from the dropdown list.
- From the sidebar, select a feature (applications, browsers, etc.) and an available API function: GET, PUT, DELETE.
- Type the other Parameters values for your API call. (Refer to the UI for descriptions and requirements for v2.)
- Select the format for your request: JSON or XML.
- Select Send Request.