r/ClaudeAI • u/Odd-Confidence-6375 • 11d ago
Humor Did anyone ever
Recovered a deleted by mistake Claude chat?
0
Upvotes
r/ClaudeAI • u/Odd-Confidence-6375 • 11d ago
Recovered a deleted by mistake Claude chat?
1
u/Fuckreddit6973 11d ago
Nah.
But Claude says...
"There is no undo button or trash folder for a deleted Claude chat in the desktop app or on the web. Anthropic's retention page says the chat leaves your history immediately and its back-end copy is purged within 30 days, but you have no access to that copy. Your best shot is a data export you downloaded before the deletion, since a new export skips anything already deleted. The desktop long shot is to kill every Claude process before reopening the app, copy the whole app data folder (
%APPDATA%\Claude, orAppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claudeon Store installs), and parse the copiedCache\Cache_Datawith ChromeCacheView orccl_chromium_reader, which only works if that chat was loaded on that machine and hasn't been overwritten. For the CLI, each Claude Code session is a JSONL file under~/.claude/projects/<encoded-working-directory>/, so if the file still exists, runclaude --resumefrom that project directory and pick it. If the file is gone, which happens because startup cleanup removes transcripts older thancleanupPeriodDays, 30 days by default, your only options are OS backups like File History or Time Machine, or undelete software, which is unreliable on SSDs. To prevent a repeat, raisecleanupPeriodDaysin~/.claude/settings.jsonto something like 365, and never set it to 0."