UsageService

ListAPIKeyStats 按 API Key 维度汇总计费/用量统计。

scope=self(默认):汇总当前用户名下各 API Key 的用量(按 user_id 归属)。 scope=team:企业管理员视角,汇总其拥有的团队下各 API Key 的用量(按 team_id 归属, 付费方为团队 owner,即当前管理员)。仅企业管理员可用,且只返回本人拥有的团队。

get/v1/console/usage/apikeys/stats

Query parameters

scopestring

统计视角:self(个人,默认)/ team(企业管理员看其拥有团队)。

startTimestring date-time
endTimestring date-time

Response

OK

endTimestring date-time
startTimestring date-time

Changes

No recorded changes to this endpoint across all 1 revision of this API.