Skip to content

SessionKey

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  733552475["system_messages.SessionKey"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 733552475
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Identifies a session transcript or subagent transcript in the store.

Source code in src/clawd_code_sdk/models/system_messages.py
class SessionKey(TypedDict):
    """Identifies a session transcript or subagent transcript in the store."""

    projectKey: str
    """Caller-defined scope. Default: sanitized cwd."""
    sessionId: str
    subpath: str | None
    """Set for subagent files, None for main transcript."""

projectKey instance-attribute

projectKey: str

Caller-defined scope. Default: sanitized cwd.

subpath instance-attribute

subpath: str | None

Set for subagent files, None for main transcript.

:fa-brands-github: Show source on GitHub