---
id: "new_relic_insights_key"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/new_relic_insights_key"
---

# New Relic Insights insert or query key (`new_relic_insights_key`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Older New Relic key for the Insights event insert API (insert key) or the Insights query API (query key). New Relic does not publish the format; gitleaks expects NRII- for insert keys, pyWhat expects NRII- or NRIQ-, each followed by 32 letters, digits, underscores and hyphens.

- Parent datatype: `api_key`
- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^NRI[IQ]-[A-Za-z0-9_-]{32}$
```

## Examples

- `NRII-` (invalid example) — Prefix without the secret

## Supported by tools

- `gitguardian`
- `githubsecretscanning`
- `gitleaks`
- `pywhat`

## Sources

- doc: <https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/>
- other: <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml>
- other: <https://github.com/bee-san/pyWhat/blob/main/pywhat/Data/regex.json>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/new_relic_insights_key.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/new_relic_insights_key.yaml>
