App Logo
claude.ai

List Claude Code sessions

List your Claude Code web sessions (the Recents list in the /code sidebar), newest first. Each entry carries the session id used by get_code_session, its full title, and the live status the sidebar dot reports (e.g. Running, Needs input) when it shows one. An account with no sessions yet returns an empty list. Claude Code sessions are not part of /recents ("Chats and tasks") — that page's Cowork filter is a different feature — so this sidebar list is the surface that has them.

Input

limit optional

Max sessions to return. Omit for every session the sidebar holds.

Output

None

Start building not clicking