GET /v1/usage — Account-wide rollup
Query params
| Param | Type | Default | Description |
|---|---|---|---|
from_ms | number | start of current calendar month (UTC) | Range start, milliseconds |
to_ms | number | now | Range end, milliseconds |
Response
cost_micros is in micro-dollars (1,000,000 = $1.00).
GET /v1/keys/:keyId/usage — Single-key drilldown
Response
events is the most recent 100 requests. Pagination is on the roadmap.