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
| Key | Datatype | Required | Description |
|---|---|---|---|
start_date | string | (Required) Format: YYYY-MM-DD | |
end_date | string | (Required) Format: YYYY-MM-DD | |
include_subaccounts | string | Include subaccounts usage? (default: false) |
RESPONSES
status: OK
{"usage_data":{"from":"commodo nostrud","product":"ipsum aliquip","to":"occaecat fugiat ex in enim","unit":"laborum in irure id"}}