AdminMonitorService
GetUsageLogsStat returns realtime RPM/TPM aggregated over a fixed trailing 60s window of usage logs. Filters mirror ListUsageLogsRequest semantics.
Keep this literal route before /v1/admin/monitor/usage-logs/{id}; otherwise some HTTP routers may match "stat" as a path id.
get/v1/admin/monitor/usage-logs/stat
Query parameters
userIdstring
End-user id. Empty means all users.
modelIdstring
Platform model id. Empty means all models.
channelIdstring
Upstream channel id. Empty means all channels.
statusinteger
0/empty=all, 1=ok, 2=error; semantics match ListUsageLogsRequest.status.
Response
OK
Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○