billing
List app billing usage
List the request, compute, sync, data transfer, and memory usage of a specific app in a given period for billing purposes.
get/groups/{groupId}/apps/{appId}/measurements
Path parameters
groupIdstring required
An Atlas Project/Group ID.
appIdstring required
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Query parameters
startstring
The ISO 8601 date and time of the start of the query period. Default is 00:00:00 UTC on the first day of the current month.
endstring
The ISO 8601 date and time of the end of the query period. Default is 23:59:59 UTC on the last day of the current month.
granularity'P31D' | 'PT1H'
Specifies the granularity of the query period, either P31D (31 day) or PT1H (1 hour). Default is P31D.
Response
The measurements were successfully returned.