AdminMonitorService

CountUsageLogs returns the exact total for the same filters as ListUsageLogs. It is loaded independently from cursor pages; unavailable rollup proof returns USAGE_LOG_COUNT_UNAVAILABLE without affecting the list endpoint.

get/v1/admin/monitor/usage-logs/count

Query parameters

userIdstring
modelIdstring
channelIdstring
statusinteger

0/empty=all, 1=ok, 2=error; semantics match ListUsageLogsRequest.status.

fromstring

RFC3339/ISO8601 string; offsets are allowed. Window is [from,to), max 90 days.

tostring

Values later than the database snapshot time are truncated to that snapshot time.

requestIdstring

Exact request UUID. The normalized time range remains mandatory for partition pruning.

sourceIdstring

渠道资源ID过滤

sourceNamestring

渠道资源名称过滤(后端解析为 source_id,查不到返回空)

Response

OK

totalstring

Exact snapshot total. Proto JSON serializes int64 as a decimal string.

Changes

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