UsageService

GET /v1/console/usage/apikeys/{apiKeyId}/stats

GetAPIKeyStatsSeries 查询单个 API Key 的时间序列用量(用于趋势图)。

鉴权:该 API Key 必须归属当前用户,或属于当前用户拥有的团队。

Request

Path parameters

apiKeyIdstring required

Query parameters

startTimestring date-time
endTimestring date-time
granularitystring

Response

OK

apiKeyIdstring
granularitystring

Changes

No recorded changes to this operation across all 11 revisions of this API.