New Relic icon

New Relic

Execute NRQL queries via NerdGraph

Account → Get Consumption

AI-generated

Summary

Retrieve New Relic usage data for a specified account, such as total gigabytes ingested over the past month.

Inputs

  • Account ID (required) — The New Relic Account ID to query usage data against.

Output shape

a list of usage records, each representing a consumption metric such as gigabytes ingested, returned as JSON objects

The operation returns multiple records for the consumption metrics aggregated over the last month. If the API returns errors, the node may throw or include error details per item if 'continue on fail' is enabled.

Examples

Example 1: Get the total data consumption for a New Relic account over the last month.

Set resource to 'Account', operation to 'Get Consumption', and provide the required 'Account ID'.

Links

Discussion