You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/alerts/scale-automate/rest-api/rest-api-calls-alerts.mdx
+7-7
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ For infrastructure alerting, see [REST API for infrastructure monitoring alerts]
94
94
</td>
95
95
96
96
<td>
97
-
In general, any [role](/docs/accounts-partnerships/accounts/account-setup/users-roles) can use a <InlinePopovertype="userKey"/> or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key)with <DNT>**GET > List**</DNT> functions to <DNT>**view**</DNT> alerts data. The account Owner and Admins may use their API key.
97
+
In general, any [role](/docs/accounts-partnerships/accounts/account-setup/users-roles) can use a <InlinePopovertype="userKey"/> with <DNT>**GET > List**</DNT> functions to <DNT>**view**</DNT> alerts data. The account Owner and Admins may use their API key.
98
98
99
99
List output will be [paginated](/docs/apis/rest-api-v2/requirements/pagination-api-output). Available functions include:
100
100
@@ -470,7 +470,7 @@ These API functions include links to the API Explorer, where you can create, upd
470
470
id="conditions-list"
471
471
title="List existing conditions for policies"
472
472
>
473
-
To view a list of existing conditions for your policy, use your [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key) or [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key), and the associated [`policy_id`](#policies-list) in the API call.
473
+
To view a list of existing conditions for your policy, use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key), and the associated [`policy_id`](#policies-list) in the API call.
474
474
475
475
<DNT>
476
476
**[API Explorer](https://api.newrelic.com/docs/#/Alerts%20Conditions/get_alerts_conditions_json) > Alerts Conditions > GET > List**
@@ -616,7 +616,7 @@ These API functions include links to the API Explorer, where you can create, upd
616
616
id="list-nrql-conditions"
617
617
title="List existing NRQL conditions for policies"
618
618
>
619
-
To view a list of existing conditions for your alert policy, use your user key or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key), and the associated [`policy_id`](#policies-list) in the API call.
619
+
To view a list of existing conditions for your alert policy, use your user key and the associated [`policy_id`](#policies-list) in the API call.
620
620
621
621
<DNT>
622
622
**[API Explorer]https://api.newrelic.com/docs/#/Alerts%20NRQL%20Conditions/get_alerts_nrql_conditions_json) > Alerts NRQL Conditions > GET > List**
@@ -753,7 +753,7 @@ These API functions include links to the API Explorer, where you can create, upd
753
753
id="ext-conditions-list"
754
754
title="External services: List existing conditions for policies"
755
755
>
756
-
To view a list of existing conditions for policies with external service apps (APM or mobile monitoring), use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key)or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key)and the associated [`policy_id`](#policies-list) in the API call.
756
+
To view a list of existing conditions for policies with external service apps (APM or mobile monitoring), use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) and the associated [`policy_id`](#policies-list) in the API call.
757
757
758
758
<DNT>
759
759
**[API Explorer](https://api.newrelic.com/docs/#/Alerts%20External%20Service%20Conditions/get_alerts_external_service_conditions_json) > Alerts External Service Conditions > GET > List**
@@ -880,7 +880,7 @@ These API functions include links to the API Explorer, where you can create, upd
880
880
id="synthetics-conditions-list"
881
881
title="Synthetic monitoring: List existing conditions for policies"
882
882
>
883
-
To view a list of existing policy conditions for synthetic monitoring, use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key)or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key), and the associated [`policy_id`](#policies-list) in the API call.
883
+
To view a list of existing policy conditions for synthetic monitoring, use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) and the associated [`policy_id`](#policies-list) in the API call.
884
884
885
885
<DNT>
886
886
**[API Explorer](https://api.newrelic.com/docs/#/Alerts%20Synthetics%20Conditions/get_alerts_synthetics_conditions_json) > Alerts Synthetics Conditions > GET > List**
@@ -1004,7 +1004,7 @@ These API functions include links to the API Explorer, where you can create, upd
1004
1004
id="multilocation-synthetics-conditions-list"
1005
1005
title="Multi-location synthetics: List existing conditions for policies"
1006
1006
>
1007
-
To view a list of existing policy conditions for multi-location synthetic monitoring, use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key)or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key), and the associated [`policy_id`](#policies-list) in the API call.
1007
+
To view a list of existing policy conditions for multi-location synthetic monitoring, use your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) and the associated [`policy_id`](#policies-list) in the API call.
@@ -1032,7 +1032,7 @@ These API functions include links to the API Explorer, where you can list, add a
1032
1032
>
1033
1033
To view the [conditions](/docs/alerts/new-relic-alerts-beta/getting-started/alerts-glossary#alert-condition) an [entity](/docs/alerts/new-relic-alerts-beta/getting-started/alerts-glossary#alert-entity) that apply to an entity in APM, browser, mobile, or key transactions, include these values in the API call:
1034
1034
1035
-
* Your [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) or [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key)
1035
+
* Your [user key.](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key)
1036
1036
* The `entity_id` This is the specific [entity (alert target)](/docs/alerts/new-relic-alerts-beta/getting-started/alerts-glossary#alert-entity) to be monitored.
1037
1037
* The `entity_type`, which must be one of the following:
Copy file name to clipboardExpand all lines: src/content/docs/apis/intro-apis/new-relic-api-keys.mdx
-39
Original file line number
Diff line number
Diff line change
@@ -411,29 +411,6 @@ We also have several older or less common API key type. To rotate these keys:
411
411
/>
412
412
</Collapser>
413
413
414
-
<Collapser
415
-
id="rotate-rest-api-key"
416
-
title="Rotate REST API key"
417
-
>
418
-
This is an older key that's deprecated but still supported by New Relic. We now recommend using the user key instead of the REST API key.
419
-
420
-
You can't rotate this key, but you can delete it.
421
-
422
-
1. Log in to New Relic on an account with admin permissions.
423
-
424
-
2. Go to [<DNT>**one.newrelic.com/api-keys**</DNT>](https://one.newrelic.com/api-keys) (or [<DNT>**one.eu.newrelic.com/api-keys**</DNT>](https://one.eu.newrelic.com/api-keys) for our EU data center).
425
-
426
-
3. On the right side of the page, find the <DNT>**Looking for other keys?**</DNT> section and click <DNT>**REST API key**</DNT>.
427
-
428
-
<img
429
-
title="Screenshot of links to legacy REST API keys"
@@ -547,22 +524,6 @@ Besides the main API keys explained above, we have several other, older API keys
547
524
548
525
All migrated admin keys will have a note that says <DNT>**Migrated from an admin user key**</DNT> in the key table.
549
526
</Collapser>
550
-
551
-
<Collapser
552
-
id="rest-api-key"
553
-
title="REST API key (not recommended)"
554
-
>
555
-
The REST API key is an older key for using our [REST API](/docs/apis/rest-api-v2/get-started/introduction-new-relic-rest-api-v2). We now recommend using the user key instead of the REST API key. The user is user-specific as opposed to account-specific, which gives your organization more control over your team members' access. Also, we recommend using our newer API, [NerdGraph](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph), instead of the REST API.
556
-
557
-
Things to consider:
558
-
559
-
* Each New Relic account can have only <DNT>**one**</DNT> REST API key.
560
-
* We recommend using a user key instead of the REST API key.
561
-
* We recommend using [NerdGraph](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph) over the REST API, if possible.
562
-
* Requires admin-level user permissions. If you don't have access to the REST API key or the REST API explorer, it might be due to lack of permissions. Talk to your New Relic account manager, or use a user key instead.
563
-
564
-
To find and manage REST API keys: From the [user menu](/docs/accounts/accounts-billing/general-account-settings/intro-account-settings), click <DNT>**API keys**</DNT> (get [a direct link to the API keys page](https://one.newrelic.com/launcher/api-keys-ui.api-keys-launcher)). Then click <DNT>**REST API key**</DNT>. Before you configure or delete an API key, ensure you are doing so for the correct account.
Copy file name to clipboardExpand all lines: src/content/docs/apis/rest-api-v2/api-explorer-v2/use-api-explorer.mdx
+2-7
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,11 @@ New Relic's REST API Explorer (v2) makes it easy to test and send requests for a
21
21
22
22
## API key requirements [#api-key]
23
23
24
-
Before you can use the [API Explorer](https://rpm.newrelic.com/api/explore), API access must be activated and an [API key](/docs/apis/rest-api-v2/requirements/rest-api-key) must be generated for your account.
25
-
26
-
<Calloutvariant="important">
27
-
We recommend using the <InlinePopovertype="userKey"/>, not the [REST API key](/docs/apis/intro-apis/new-relic-api-keys/#rest-api-key), because the user key has fewer restrictions.
28
-
</Callout>
24
+
Before you can use the [API Explorer](https://rpm.newrelic.com/api/explore), API access must be activated and an [User API key](/docs/apis/rest-api-v2/requirements/rest-api-key) must be generated for your account.
29
25
30
26
Tips:
31
27
32
-
* If you're signed in to New Relic, when you use the API Explorer you can choose your [API key](/docs/apis/rest-api-v2/getting-started/introduction-new-relic-rest-api-v2#api_key) at the top of the UI and that key will appear automatically in the <DNT>**Request**</DNT> and <DNT>**Parameters**</DNT> sections of the Explorer.
33
-
* If you're not signed in to New Relic, you can paste your [API key](/docs/apis/rest-api-v2/getting-started/introduction-new-relic-rest-api-v2#api_key) into the API Explorer's <DNT>**Parameters**</DNT>.
28
+
* When you use the API Explorer you can insert your [User API key](/docs/apis/rest-api-v2/getting-started/introduction-new-relic-rest-api-v2#api_key) at the top of the UI and that key will appear automatically in the <DNT>**Request**</DNT> and <DNT>**Parameters**</DNT> sections of the Explorer.
New Relic API calls require an API key. This may be one of several API keys:
68
-
69
-
* A [user key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key): This is recommended. It's our latest key implementation and has fewer limitations than a REST API key. The user key is also used for our [NerdGraph API](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph).
70
-
* A [REST API key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#rest-api-key): This is our older key implementation. For more information about it, see [REST API key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#rest-api-key). If you use this key, the required header is `X-Api-Key` and not `Api-Key`.
71
-
* If you have a New Relic partnership account, you'll use a different key: see [Partnership authentication](/docs/apis/rest-api-v2/get-started/admin-users-api-key-partnerships).
67
+
New Relic API requires a [user API key](/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key): The user key is also used for our [NerdGraph API](/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph).
72
68
73
69
In our REST API examples, we borrow the API key placeholder `$API_KEY` from Unix shell programming. Be sure to replace that and other user-specific variables when forming calls.
Copy file name to clipboardExpand all lines: src/content/docs/apis/synthetics-rest-api/monitor-examples/manage-synthetics-monitors-rest-api.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ These are the [monitor types](/docs/synthetics/new-relic-synthetics/using-monito
94
94
95
95
## Use the API [#use-api]
96
96
97
-
To use the [synthetic monitoring REST API](/docs/apis/synthetics-rest-api), you must have the ability to manage synthetics monitors and use a [user key](/docs/apis/rest-api-v2/getting-started/introduction-new-relic-rest-api-v2#api_key) (the REST API key won't work).
97
+
To use the [synthetic monitoring REST API](/docs/apis/synthetics-rest-api), you must have the ability to manage synthetics monitors and use a [user key](/docs/apis/rest-api-v2/getting-started/introduction-new-relic-rest-api-v2#api_key).
98
98
99
99
This API can be used for all synthetic monitors. (Additional API methods for [scripted browser and API test monitors](#scripted-api-monitors-api) are also available to update the script associated with those monitors.) All synthetic monitoring data is available via the API. API examples show curl commands.
Copy file name to clipboardExpand all lines: src/content/docs/apm/agents/ruby-agent/features/record-deployments-ruby-agent.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,7 @@ You can customize some deployment information by using Capistrano variables. If
175
175
</td>
176
176
177
177
<td>
178
-
The New Relic <InlinePopovertype="licenseKey"/> to use. By default this comes from the definition in the `newrelic.yml` file for the given `rails_env`. This is **not** the same as your [REST API key](/docs/apis/getting-started/intro-apis/access-rest-api-keys).
178
+
The New Relic <InlinePopovertype="licenseKey"/> to use. By default this comes from the definition in the `newrelic.yml` file for the given `rails_env`. This is **not** the same as your [API key](/docs/apis/getting-started/intro-apis/access-rest-api-keys).
Copy file name to clipboardExpand all lines: src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/troubleshooting/troubleshoot-enabling-serverless-monitoring-aws-lambda.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ There are two common problems related to not completing all of the [enablement p
24
24
25
25
Besides these basic enablement problems, there are some additional problems that may cause an issue:
26
26
27
-
* CloudWatch error "HTTP error 401: unauthorized." This is due to an incorrect API Key. The `--nr-api-key`argument in the [Configure AWS enable step](/docs/serverless-function-monitoring/aws-lambda-monitoring/get-started/enable-new-relic-monitoring-aws-lambda#connect-aws) takes your <InlinePopovertype="userKey"/>, which is different from the REST API key.
27
+
* CloudWatch error "HTTP error 401: unauthorized." This is due to an incorrect API Key. The `--nr-api-key`argument in the [Configure AWS enable step](/docs/serverless-function-monitoring/aws-lambda-monitoring/get-started/enable-new-relic-monitoring-aws-lambda#connect-aws) takes your <InlinePopovertype="userKey"/>.
28
28
* Custom metrics are missing. Lambda monitoring is not compatible with our [custom metrics](/docs/agents/manage-apm-agents/agent-data/collect-custom-metrics). Use [custom attributes](/docs/agents/manage-apm-agents/agent-data/collect-custom-attributes) to add metadata.
29
29
* Invocations missing. To see invocation breakdown details, distributed tracing must be enabled as part of the [Lambda instrumentation step](/docs/serverless-function-monitoring/aws-lambda-monitoring/get-started/enable-new-relic-monitoring-aws-lambda#instrument-lambda). Distributed tracing is required so that span details can be displayed in the invocation details pane.
30
30
* You've completed the installation, integration, and instrumentation steps correctly, and your function is sending logs to CloudWatch but you're not seeing traces for specific dependencies (or any traces) in the UI. This may result from the order of layer merging (if you're using our Lambda layers) or from the order of import (if you're instrumenting manually):
Copy file name to clipboardExpand all lines: src/content/docs/synthetics/new-relic-synthetics/synthetics-api/synthetics-rest-api-version-1.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ To use the REST API for New Relic's synthetic monitoring, you must [activate API
18
18
19
19
## Managing simple and scripted monitors [#simple-monitor-calls]
20
20
21
-
You must use your Admin User's API key to make synthetics REST API calls. The account's REST API key will not work.
21
+
You must use your Admin User's API key to make synthetics REST API calls.
22
22
23
23
<Calloutvariant="caution">
24
24
The synthetics REST API limits an account's rate of requests to three requests per second. Requests made in excess of this threshold will return a 429 response code.
0 commit comments