List active sessions and read their history

agents & sessions

// what it does

openclaw sessions list shows conversations across agents; add --agent to scope to one. openclaw sessions history <id> prints a bounded, redacted transcript (thinking-block signatures and tool payloads stripped). Sessions persist in each agent's SQLite store under ~/.openclaw/agents/<id>/agent.

// shell

$ openclaw sessions list --agent work
$ openclaw sessions history my-session-id

// gotcha

DMs collapse to one session per agent by default (key agent:<id>:main), so separate people on the same number share context unless you set session.dmScope to per-channel-peer.

// resources