-
feat: add API key usage endpoint with provider and key grouping
发布于
2026-05-01 15:34:18 +00:00 - Implemented
GetAPIKeyUsageto expose recent request data grouped by provider and API key. - Added supporting function
mergeRecentRequestBucketsfor bucket aggregation. - Registered new endpoint
/v0/management/api-key-usagein the management API. - Included extensive unit tests for provider and key-based grouping validation.
- Updated
formatRecentRequestBucketLabelto support configurable bucket duration.
下载附件
- Implemented