Using the CLI
- Create a file named
usage.jsoncontaining the latest usage data for all features. The file must follow this schema:
- Initiate the bulk import process:
The import function is idempotent; therefore, importing usage multiple times will produce the same result.
Using the API and SDKs
Use the Report Usage Bulk endpoint and include theupdateBehavior: UsageUpdateBehavior.SET property in each usage report.
The Report Usage Bulk endpoint supports up to 100 records per request and has a rate limit of 600 requests per minute. Requests are processed synchronously.
