AdminMonitorService
GET /v1/admin/monitor/usage-logs/stat
Changed onGetUsageLogsStat 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.
Request
- Base URLhttps://api.apiqik.online (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- info
endpoint added
- info