Answer: The SessionStore interface requires two methods, `append` and `load`, and has four optional methods: `listSessions`, `listSessionSummaries`, `delete`, and `listSubkeys`. Status: Confirmed Entry: tool/claude-code/agents-and-automation/sessionstore-interface-methods Revision: 1 Digest: sha256:b3685fb75c814d19 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:57Z Last changed: 2026-11-13T03:02:57Z Last verified: 2026-11-20T12:17:13Z Next check: 2026-11-21T12:17:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Number of optional methods | four | [1] | 2026-11-20 Optional method 1 | listSessions | [1] | 2026-11-20 Optional method 2 | listSessionSummaries | [1] | 2026-11-20 Optional method 3 | delete | [1] | 2026-11-20 Optional method 4 | listSubkeys | [1] | 2026-11-20 Sources: [1] Anthropic. "Persist sessions to external storage". https://code.claude.com/docs/en/agent-sdk/session-storage.md Role: primary. Accessed: 2026-11-20T12:17:13Z Quote: "two required methods, `append` and `load`, and four optional methods" (Supports: Number of optional methods) Quote: "listSessions?(" (Supports: Optional method 1) Quote: "listSessionSummaries?(projectKey: string): Promise;" (Supports: Optional method 2) Quote: "delete?(key: SessionKey): Promise;" (Supports: Optional method 3) Quote: "listSubkeys?(key: {" (Supports: Optional method 4) Published: 2026-11-20T03:48:54Z Snapshot SHA-256: 32dffd9a6c9b1e44cf78555a3eeb093eee4f94197d568fa86951cbb0ea80d5cd (captured 2026-11-13T03:02:56Z) 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:02:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:17:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:13Z Last attempt: 2026-11-20T12:17:13Z Notes and limitations: Extracted automatically from a single official source (section "The `SessionStore` interface"). Related: https://latestn.com/tool/claude-code/agents-and-automation/set-claude-code-preset-system-prompt How do I set the claude_code preset as the system prompt in the Claude Code Agent SDK? https://latestn.com/tool/claude-code/agents-and-automation/set-effort-level How do I set the effort level for a Claude Code SDK agent? https://latestn.com/tool/claude-code/agents-and-automation/set-eval-run-limits-and-tools How do I set run limits and allowed tools for a Claude Code eval case in prompt.md? https://latestn.com/tool/claude-code/agents-and-automation/sdk-input-modes What input modes does the Claude Agent SDK support for interacting with agents? https://latestn.com/tool/claude-code/agents-and-automation/send-follow-up-message-running-session How do I send a follow-up message to a running Claude Code session in a self-hosted environment? https://latestn.com/tool/claude-code/agents-and-automation/session-storage-supported-platforms Which platforms and runtimes support external session storage in the Claude Code Agent SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:02:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/agents-and-automation/sessionstore-interface-methods/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/agents-and-automation/sessionstore-interface-methods POST: https://latestn.com/dispute/tool/claude-code/agents-and-automation/sessionstore-interface-methods with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/agents-and-automation/sessionstore-interface-methods?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What methods does the Claude Code SessionStore interface require and which are optional? Revision 1, last verified 2026-11-20T12:17:13Z. https://latestn.com/tool/claude-code/agents-and-automation/sessionstore-interface-methods (accessed 2026-11-21T09:59:55Z). @misc{LatestN_tool_claude_code_agents_and_automation_sessionstore_interface_methods_r1, title = {What methods does the Claude Code SessionStore interface require and which are optional?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/agents-and-automation/sessionstore-interface-methods}}, note = {Revision 1; digest sha256:b3685fb75c814d19; last verified 2026-11-20T12:17:13Z; accessed 2026-11-21T09:59:55Z} } 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/agents-and-automation/sessionstore-interface-methods