For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usage

Per-endpoint compute-unit usage

get

Compute-unit series for a single endpoint, which must belong to the calling team. An endpoint owned by another team returns 404, indistinguishable from one that never existed; the team's own deleted endpoints remain readable. Defaults to the current calendar month (UTC) when from/to are omitted.

Authorizations
AuthorizationstringRequired

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.

Path parameters
idstring · uuidRequired

Endpoint UUID

Query parameters
fromstring · date-timeOptional

Inclusive window start, RFC3339

tostring · date-timeOptional

Exclusive window end, RFC3339

granularitystring · enumOptional

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

Default: DAYPossible values:
Responses
200

OK

application/json
compute_unitsinteger · int64OptionalExample: 22
fromstring · date-timeOptional
tostring · date-timeOptional
get/endpoints/{id}/usage

Team-wide compute-unit usage

get

Aggregated compute-unit usage for the team the admin key is bound to. Defaults to the current calendar month (UTC) when from/to are omitted.

Authorizations
AuthorizationstringRequired

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
fromstring · date-timeOptional

Inclusive window start, RFC3339

tostring · date-timeOptional

Exclusive window end, RFC3339

granularitystring · enumOptional

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

Default: DAYPossible values:
Responses
200

OK

application/json
compute_unitsinteger · int64OptionalExample: 22
fromstring · date-timeOptional
tostring · date-timeOptional
get/usage

Last updated

Was this helpful?