UsageService

CountLogs 返回与 ListLogs 相同筛选条件的精确总数。 该查询独立加载;聚合完整性无法证明时返回 USAGE_LOG_COUNT_UNAVAILABLE, 不影响日志列表、详情和游标翻页。

get/v1/console/usage/logs/count

Query parameters

searchstring

请求 ID 精确匹配;非法 UUID 与列表一致,返回 total=0。

statusstring
modelIdstring
channelIdstring
startTimestring date-time
endTimestring date-time

晚于数据库快照时间时会截断到该快照时间;窗口最大 90 天。

apiKeyIdstring
modelNamestring
apiKeyNamestring

Response

OK

totalstring

精确快照总数;proto JSON 以十进制字符串序列化 int64。

Changes

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