Usage

Read the calling tenant's own usage records

GET
/api/v1/usage

Authorization

tenant-api-key
x-api-key<token>

Tenant API key (backend only — never expose to a browser)

In: header

Query Parameters

granularity?string

Aggregation granularity to return.

Default"DAILY"

Value in

  • "DAILY"
  • "MONTHLY"
from?string

Inclusive period-start lower bound (ISO).

to?string

Exclusive period-start upper bound (ISO).

Response Body

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