Provider usage

Aggregate usage across the provider's tenants (optionally one tenant)

GET
/api/v1/provider/usage

Authorization

provider-key
x-provider-key<token>

Provider control-plane key (reseller: manage owned tenants)

In: header

Query Parameters

granularity?string

Aggregation granularity to roll up.

Default"DAILY"

Value in

  • "DAILY"
  • "MONTHLY"
from?string

Inclusive period-start lower bound (ISO).

to?string

Exclusive period-start upper bound (ISO).

tenantId?string

Restrict the roll-up to a single owned tenant (drill-down).

Response Body

curl -X GET "https://example.com/api/v1/provider/usage"
Empty