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

Method createSession

packages/server-e2e/src/http.ts:197–199  ·  view source on GitHub ↗
(body: SessionCreate)

Source from the content-addressed store, hash-verified

195
196 // ── Sessions ────────────────────────────────────────────────────────────
197 createSession(body: SessionCreate): Promise<Session> {
198 return this.request<Session>('POST', '/sessions', body);
199 }
200 getSession(sid: string): Promise<Session> {
201 return this.request<Session>('GET', `/sessions/${encodeURIComponent(sid)}`, undefined);
202 }

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected