# Newrelic

> Monitor applications and infrastructure via New Relic API. Query metrics and manage alerts.

- Skill: `modbender/newrelic` (Agent Skill)
- Install (CLI): `npx skillmds@latest add modbender/newrelic`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/newrelic/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/newrelic

---

# New Relic
Observability platform.
## Environment
```bash
export NEWRELIC_API_KEY="xxxxxxxxxx"
export NEWRELIC_ACCOUNT_ID="xxxxxxxxxx"
```
## Query NRQL
```bash
curl -X POST "https://api.newrelic.com/graphql" \
  -H "API-Key: $NEWRELIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ actor { account(id: '$NEWRELIC_ACCOUNT_ID') { nrql(query: \"SELECT count(*) FROM Transaction\") { results } } } }"}'
```
## List Applications
```bash
curl "https://api.newrelic.com/v2/applications.json" -H "Api-Key: $NEWRELIC_API_KEY"
```
## Links
- Dashboard: https://one.newrelic.com
- Docs: https://docs.newrelic.com/docs/apis/

