Skip to main content
GET
Team-wide compute-unit usage

Authorizations

Authorization
string
header
required

Admin API key under the ApiKey scheme: Authorization: ApiKey vc_adm_.... Each key is bound to one team and carries a READ or WRITE scope; the usage endpoints require only READ.

Query Parameters

from
string<date-time>

Inclusive window start, RFC3339

to
string<date-time>

Exclusive window end, RFC3339

granularity
enum<string>
default:DAY

Bucket size. Max window per granularity: HOUR 7d, DAY 92d, WEEK/MONTH 366d; at most 750 buckets per request.

Available options:
HOUR,
DAY,
WEEK,
MONTH

Response

OK

compute_units
integer<int64>
Example:

22

from
string<date-time>
series
object[]
to
string<date-time>