Answer: The Claude Code V2 TypeScript session API includes the functions unstable_v2_createSession(), unstable_v2_resumeSession(), and unstable_v2_prompt(), plus the SDKSession interface. createSession creates a new session for multi-turn conversations, resumeSession resumes an existing session by ID, and prompt is a one-shot convenience function for single-turn queries. Status: Confirmed Entry: tool/claude-code/integrations/v2-session-api-reference Revision: 1 Digest: sha256:15b380a69558a7de (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:07Z Last changed: 2026-11-13T03:03:07Z Last verified: 2026-11-20T12:17:40Z Next check: 2026-11-21T12:17:40Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of create session function | unstable_v2_createSession() | [1] | 2026-11-20 resume session function | unstable_v2_resumeSession() | [1] | 2026-11-20 prompt function | unstable_v2_prompt() | [1] | 2026-11-20 session interface | SDKSession | [1] | 2026-11-20 createSession return type | SDKSession | [1] | 2026-11-20 prompt return type | Promise | [1] | 2026-11-20 SDKSession methods | send(message: string | SDKUserMessage): Promise; | [1] | 2026-11-20 Sources: [1] Anthropic. "TypeScript SDK V2 session API (removed)". https://code.claude.com/docs/en/agent-sdk/typescript-v2-preview.md Role: primary. Accessed: 2026-11-20T12:17:40Z Quote: "### `unstable_v2_createSession()`" (Supports: create session function) Quote: "### `unstable_v2_resumeSession()`" (Supports: resume session function) Quote: "### `unstable_v2_prompt()`" (Supports: prompt function) Quote: "### SDKSession interface" (Supports: session interface) Quote: "}): SDKSession;" (Supports: createSession return type) Quote: "): Promise;" (Supports: prompt return type) Quote: "send(message: string | SDKUserMessage): Promise;" (Supports: SDKSession methods) Published: 2026-11-20T10:36:10Z Snapshot SHA-256: 85c0e2f72d5e22d75c0d5e93e66f1262306de4b835fdaaab6ea6f667d9b15d82 (captured 2026-11-13T03:03:07Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:03:07Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:17:40Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:40Z Last attempt: 2026-11-20T12:17:40Z Notes and limitations: Extracted automatically from a single official source (section "API reference"). Related: https://latestn.com/tool/claude-code/integrations/v2-session-api-removal-version Which Claude Code TypeScript Agent SDK version removed the V2 session API functions like unstable_v2_createSession? https://latestn.com/tool/claude-code/integrations/when-install-prompt-appears When does the Claude Code plugin install prompt appear to users? https://latestn.com/tool/claude-code/memory-and-context/1m-token-context-window How do I enable the 1M token context window in Claude Code on Google Cloud's Agent Platform? https://latestn.com/tool/claude-code/integrations/submit-plugin-anthropic-directory How do I submit a Claude Code plugin to Anthropic's directory? https://latestn.com/tool/claude-code/integrations/supported-channels Which channels are supported in Claude Code? https://latestn.com/tool/claude-code/integrations/trigger-with-claude-mentions How do I trigger Claude Code GitHub Actions with @claude mentions? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:07Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/integrations/v2-session-api-reference/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/integrations/v2-session-api-reference POST: https://latestn.com/dispute/tool/claude-code/integrations/v2-session-api-reference with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/integrations/v2-session-api-reference?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What functions and types did the Claude Code V2 TypeScript session API include, such as createSession, resumeSession, and SDKSession? Revision 1, last verified 2026-11-20T12:17:40Z. https://latestn.com/tool/claude-code/integrations/v2-session-api-reference (accessed 2026-11-21T09:52:22Z). @misc{LatestN_tool_claude_code_integrations_v2_session_api_reference_r1, title = {What functions and types did the Claude Code V2 TypeScript session API include, such as createSession, resumeSession, and SDKSession?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/integrations/v2-session-api-reference}}, note = {Revision 1; digest sha256:15b380a69558a7de; last verified 2026-11-20T12:17:40Z; accessed 2026-11-21T09:52:22Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/integrations/v2-session-api-reference