Get usage
Returns the tokens billed in the current period.
Authentication
AuthorizationBearer
An API key: Authorization: Bearer bl_live_….
OR
AuthorizationBearer
Blende’s apps: a sign-in JWT, sent with Blende-Context-Key.
Response headers
Cache-Control
Always no-store.
Allowed values:
Request-Id
The request's id.
RateLimit
The quota left in the current window.
RateLimit-Policy
The rate-limit policy in force.
Response
The current period's usage.
period_start_time
RFC 3339: when the period started.
period_end_time
RFC 3339: when the period ends.
tokens_used
The tokens billed in the period.
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error