Retrieve usage statistics for billing purposes. Returns statistics for document sent and document received actions, grouped by aggregation period (day/week/month). If no date parameters are provided, returns daily stats for all available data.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Start date in yyyy-mm-dd format. If not provided, queries from earliest available data.
End date in yyyy-mm-dd format. If not provided, queries to latest available data.
Aggregation type: DAY, WEEK, or MONTH. Defaults to DAY.
DAY, WEEK, MONTH Successful Response
Statistics response for a tenant.
Tenant ID
Start date of the period
End date of the period
Aggregation type used
DAY, WEEK, MONTH List of action statistics, one entry per aggregation period per action
Number of days in the period
x >= 1Average daily usage (total actions / total days)
x >= 0Estimated days until credits run out (credit_balance / average_daily_usage). 0.0 if average_daily_usage is 0 or credit_balance is None
x >= 0