List

GET {{baseUrl}}/usages/{{product}}.json?start_date=<date>&end_date=<date>&include_subaccounts=<boolean>

This endpoint is deprecated as of June 12, 2018. It will be replaced with a new subscription usage API on July 10, 2018 and shut down permanently on Aug. 10, 2018. For more details, see https://discuss.newrelic.com/t/upcoming-changes-to-the-subscription-usage-experience/56453

Show a list of usage for a product in a given time frame.

NOTE: Currently you must request 1 month of data, or less, to retrieve daily usage. Requests for greater than 1 month will currently return only monthly usage.

Request Params

KeyDatatypeRequiredDescription
start_datestring(Required) Format: YYYY-MM-DD
end_datestring(Required) Format: YYYY-MM-DD
include_subaccountsstringInclude subaccounts usage? (default: false)

RESPONSES

status: OK

{&quot;usage_data&quot;:{&quot;from&quot;:&quot;commodo nostrud&quot;,&quot;product&quot;:&quot;ipsum aliquip&quot;,&quot;to&quot;:&quot;occaecat fugiat ex in enim&quot;,&quot;unit&quot;:&quot;laborum in irure id&quot;}}