Retrieve usage analytics and billing data for a specific API key.
2025-01-01T00:00:00Z or 2025-01-01). Defaults to 30 days ago. Must be within the last 100 days.hour, day, or month). Currently reserved for future enhancements and does not change the response shape. Defaults to day.start_date older than 100 days will return a 400 error.total_cost_usd will be 0 and cost_breakdown may be empty.2025-01-01 or 2025-01-01T00:00:00Z).Service API key for team authentication
The unique identifier of the API key
Start date for the usage period (ISO 8601 format). Defaults to 30 days ago. Must be within the last 100 days.
End date for the usage period (ISO 8601 format). Defaults to current time.
Time granularity for grouping results. Currently reserved for future enhancements and does not change the response shape. Defaults to 'day'.
hour, day, month Usage data retrieved successfully