Skip to main content

List usage statistics.

GET 

/usage-stats

Returns the usage of the authenticated account, aggregated by month, application and operation type.

Without fiscalId, each entry is the total across all fiscal ids. With fiscalId, only the usage of that fiscal id is returned.

The period is selected with fromYear, fromMonth, toYear and toMonth, which must be provided together. Both ends are inclusive and the period can span at most 6 months. When all four are omitted, the current month is returned.

Figures for the current month are partial: they are recalculated periodically, and calculated_at tells when an entry was last updated.

Request​

Responses​

UsageStats collection