Overview
Theusage sub-client provides daily API usage metrics. current() returns the current UTC date’s counters; history() returns earlier daily counters.
usage.current()
Get API usage metrics for the current UTC date.Response: UsageMetrics
The current UTC date in
YYYY-MM-DD format (e.g., '2026-03-07'). The wire field retains the name period for compatibility.usage.history()
Retrieve historical usage data for the specified number of days, broken down by day.Parameters
Response: UsageHistory
Each UsageEntry contains: