MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / getUsage

Method getUsage

packages/node-sdk/src/session.ts:279–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277 }
278
279 async getUsage(): Promise<SessionUsage> {
280 this.ensureOpen();
281 return this.rpc.getUsage({ sessionId: this.id });
282 }
283
284 async getStatus(): Promise<SessionStatus> {
285 this.ensureOpen();

Callers 4

getUsageFunction · 0.45
getStatusFunction · 0.45
loadSessionUsageReportFunction · 0.45

Calls 1

ensureOpenMethod · 0.95

Tested by

no test coverage detected