Get a grouped summary of usage for the specified time range.
Path parameters
The unique name for the team.
Group by usage summary. plugin and price_category groupings are only available for paid-rows.
Query parameters
A list of metrics to include in the response. Each metric must be one of the predefined valid values. If not provided, only paid-rows will be included.
A valid ISO-8601-formatted date and time, indicating the inclusive start of the query time range. Defaults to 30 days ago.
A valid ISO-8601-formatted date and time, indicating the exclusive end of the query time range. Defaults to the current time.
An aggregation period to sum data over. In other words, data will be returned at this granularity. Currently only supports day and month.
Response
A summary of usage for the specified time range.
Example response
{
"groups": [
{
"name": "plugin",
"value": "cloudquery/source/aws"
},
{
"name": "plugin",
"value": "cloudquery/source/gcp"
}
],
"values": [
{
"timestamp": "2021-01-01T00:00:00Z",
"paid_rows": [
100,
200
]
},
{
"timestamp": "2021-01-02T00:00:00Z",
"paid_rows": [
150,
300
]
}
]
}