GuidesAPI Reference
Guides

How to download usage report by ID

This tutorial shows how to download the usage report for your organization, using the report ID.

Request

This sample request uses org123456789 as the realmId and REPORT-1001 as the reportId.

GET https://usage.bam.api.here.com/v2/usage/realms/org123456789/reports/REPORT-1001/output

Parameters

The parameters shown here are only those required for this sample request. For a complete list of parameters, see the Cost Management Usage API v2 API Reference.

realmId
required
string [ 5 ... 30 ] characters
Example: org123456789
Your org ID.
reportId
required
string [ 11 ... 30 ] characters
Example: REPORT-1001
The ID of the report you want to view.

Response HTTP 200

The usage report downloads in gzip format.