MCPcopy Create free account
hub / github.com/astercloud/aster / getStats

Method getStats

client-sdks/client-js/src/resources/session.ts:181–183  ·  view source on GitHub ↗

* 获取 Session 统计信息 * @param sessionId Session ID * @returns 统计数据

(sessionId: string)

Source from the content-addressed store, hash-verified

179 * @returns 统计数据
180 */
181 async getStats(sessionId: string): Promise<SessionStats> {
182 return this.request<SessionStats>(`/v1/sessions/${sessionId}/stats`);
183 }
184
185 // ==========================================================================
186 // Session State Management

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected