Create and manage New Relic Pipeline Control cloud rules via NerdGraph to drop ingested data or attributes

domain: docs.newrelic.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Use the entityManagementCreatePipelineCloudRule mutation with an nrql field containing a DELETE FROM DATA_TYPE (WHERE ...) or DELETE attr1, attr2 FROM DATA_TYPE (WHERE ...) statement and a scope of { id: account_id, type: ACCOUNT }.
  2. List existing rules with entitySearch(query: "type = 'PIPELINE_CLOUD_RULE'") or fetch one directly via entity(id: ...).
  3. Update a rule's nrql, name, description, or enabled flag with entityManagementUpdatePipelineCloudRule, supplying the rule's entity id.
  4. Delete a rule with the generic entityManagementDelete(id: ...) mutation.
  5. Verify a rule is working by re-running the equivalent SELECT ... TIMESERIES query and confirming the matching data drops to zero after the rule takes effect.

Known gotchas

Related routes

Create, update, and delete New Relic alert policies via the NerdGraph API
docs.newrelic.com · 5 steps · unrated
Plan the New Relic NRQL Drop Filter Rules API EOL migration to Pipeline cloud rules
docs.newrelic.com · 5 steps · unrated
Create and manage New Relic Synthetics monitors via the NerdGraph GraphQL API
docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans