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

Method getSession

apps/kimi-web/src/api/daemon/client.ts:337–342  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

335 // GET /sessions/{id} — fetch one session (deep links to sessions outside the
336 // first listSessions page).
337 async getSession(sessionId: string): Promise<AppSession> {
338 const data = await this.http.get<WireSession>(
339 `/sessions/${encodeURIComponent(sessionId)}`,
340 );
341 return toAppSession(data);
342 }
343
344 // The daemon has no PATCH on sessions; mutating title/metadata/agent_config
345 // (model + runtime controls) goes through POST /sessions/{id}/profile with a

Callers

nothing calls this directly

Calls 1

toAppSessionFunction · 0.90

Tested by

no test coverage detected