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.
Important
We recommend using the , not the REST API key, because the user key has fewer restrictions.
Tips:
- 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.
Use the API Explorer
- Go to the API Explorer.
- From the Servers dropdown, choose a US or EU-based API URL.
- Click Authorize, enter your user API key, and click Authorize again.
- Expand one of the available API functions: GET, PUT, DELETE.
- (Optional) Add Parameters values for your API call to filter the response (refer to the UI for descriptions and requirements for v2.)
- From the Media type dropdown, choose a format for your request: JSON or XML.
- Click Try it out, then Execute.