Answer: Apps typically want named sessions so users can resume conversations; sessions are created with a sessionId via client.createSession and later resumed with client.resumeSession, and session state persists at ~/.copilot/session-state/{sessionId}/. Status: Confirmed Entry: tool/github-copilot/features/sdk-session-management Revision: 1 Digest: sha256:26ed1eb12861d6a5 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:57Z Last changed: 2026-11-13T03:28:57Z Last verified: 2026-11-20T13:09:30Z Next check: 2026-11-21T13:09:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Session state location | ~/.copilot/session-state/{sessionId}/ | [1] | 2026-11-20 Create session method | createSession | [1] | 2026-11-20 Resume session method | resumeSession | [1] | 2026-11-20 Model | gpt-5.4 | [1] | 2026-11-20 Sources: [1] GitHub. "Default setup (bundled CLI) - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/setup/bundled-cli Role: primary. Accessed: 2026-11-20T13:09:30Z Quote: "Session state persists at ~/.copilot/session-state/{sessionId}/ ." (Supports: Session state location) Quote: "const session = await client. createSession ({ sessionId, model : "gpt-5.4" , });" (Supports: Create session method) Quote: "const resumed = await client. resumeSession (sessionId);" (Supports: Resume session method) Quote: "model : "gpt-5.4"" (Supports: Model) Snapshot SHA-256: 48c912d09d8ff893f76d6303095f6849ea85661aa42268ee21991dadf6a8596e (captured 2026-11-18T13:04:47Z) 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-18T13:04:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:09:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:09:30Z Last attempt: 2026-11-20T13:09:30Z Notes and limitations: Extracted automatically from a single official source (section "Session management"). Related: https://latestn.com/tool/github-copilot/features/search-issues-prs-cli How do I search issues and pull requests from GitHub Copilot CLI? https://latestn.com/tool/github-copilot/features/share-plugin-marketplace How do I share a GitHub Copilot plugin marketplace with others? https://latestn.com/tool/github-copilot/features/share-session How do I share a GitHub Copilot CLI session with someone else? https://latestn.com/tool/github-copilot/features/review-ai-generated-code-steps How do I review AI-generated code from GitHub Copilot step by step? https://latestn.com/tool/github-copilot/features/rubber-duck-agent-capabilities What does the GitHub Copilot rubber duck agent do when it gives a second opinion? https://latestn.com/tool/github-copilot/features/sdk-cli-feature-gaps Which GitHub Copilot CLI features are not available in the Copilot SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:28:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/features/sdk-session-management/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/github-copilot/features/sdk-session-management POST: https://latestn.com/dispute/tool/github-copilot/features/sdk-session-management with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/features/sdk-session-management?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does session management work in the GitHub Copilot SDK? Revision 1, last verified 2026-11-20T13:09:30Z. https://latestn.com/tool/github-copilot/features/sdk-session-management (accessed 2026-11-21T09:52:43Z). @misc{LatestN_tool_github_copilot_features_sdk_session_management_r1, title = {How does session management work in the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/features/sdk-session-management}}, note = {Revision 1; digest sha256:26ed1eb12861d6a5; last verified 2026-11-20T13:09:30Z; accessed 2026-11-21T09:52:43Z} } 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/github-copilot/features/sdk-session-management