get usage
analytics
get usage
Get usage for a customer in a given range
POST
get usage
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Body of the request for the get usage
The range of the usage, last hour, day, week or month
Available options:
24h, 7d, 30d, 90d Example:
"24h"
The customer ID if you want to get the usage for a specific customer
Example:
"cus_1H7KQFLr7RepUyQBKdnvY"
The project ID (optional, only available for main projects)
Example:
"project_1H7KQFLr7RepUyQBKdnvY"
Response
The result of the get usage

