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

Function getUsage

packages/node-sdk/src/rpc.ts:435–441  ·  view source on GitHub ↗
(input: SessionIdRpcInput)

Source from the content-addressed store, hash-verified

433 }
434
435 async getUsage(input: SessionIdRpcInput): Promise<SessionUsage> {
436 const rpc = await this.getRpc();
437 return rpc.getUsage({
438 sessionId: input.sessionId,
439 agentId: this.interactiveAgentId,
440 });
441 }
442
443 async getStatus(input: SessionIdRpcInput): Promise<SessionStatus> {
444 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
getUsageMethod · 0.45

Tested by

no test coverage detected