Get daily aggregated usage statistics for a specific time period with optional filtering by connection or product. Helps analyze AI usage patterns and costs.
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Start of the usage period (inclusive) in ISO 8601 format, this also sets the timezone of the grouped usage data
End of the usage period (inclusive) in ISO 8601 format, if not specified, usage data will be returned up to the current time
Filter usage by connection ID
Filter usage by product ID
Filter usage by metadata key-value pairs. Must be a JSON array of [key, value] pairs, where both key and value are strings. Keys must contain only ASCII letters, numbers, and underscores (no spaces or special characters). Example: [['user_id', '123'], ['session_id', 'abc']]