Usage
The Usage API exposes the same usage meters used by the workspace billing and
settings views. It is useful for internal reporting, quota dashboards, and key
rotation audits.
Workspace Usage
The response includes the current UTC month start and these meters:
API Key Usage
Returns usage by workspace API key prefix for the current month. Full secrets
and key hashes are never returned.
Required Scope
Both Usage endpoints require usage:read.
Usage records are for metering and visibility. They do not store raw request
bodies, raw responses, key secrets, or customer-private payloads.