Class AgentscopeUsageEndpoint
java.lang.Object
io.agentscope.spring.boot.admin.endpoint.AgentscopeUsageEndpoint
GET /actuator/agentscope-usage: process-cumulative token usage, sliced both by agent
name and by model name.
Counters reset on JVM restart (in-process only). For long-horizon billing, forward the
derived AdminAuditEvents into your data
warehouse instead of relying on this endpoint.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AgentscopeUsageEndpoint
-
-
Method Details
-
usage
-
forAgent
Convenience for callers asking only about a single agent.
-