v1

latestOpenAPI 3.0.0Apache 2.02026-07-24340250799.5 KB
usage-statistics

List Scalr Usage Statistics

This endpoint returns billing usage statistics for an account within a period of time.

Required permission: accounts:billing

get/usage-statistics

Query parameters

filter[date]string required

The date filter. Example: filter[date]=between:2022-01-01T00:00:00Z,2022-02-01T00:00:00Z

filter[account]string

Filter data by account. This filter is applicable only for the parent control tower account. Example: filter[account]=acc-ttpu7uslju6igv8

breakdown_by'account' | 'environment' | 'workspace'

Breakdown by environment or workspace.

totalstring

Summarize usage statistics by the whole period.

Response

Success.