{"version":"2.1.301","anchor":"remote-sessions-archive-replaced-by-removeremotesession-stu","canonical_anchor":"remote-sessions-archive-replaced-by-removeremotesession-stu","heading":"Cloud session list: archiving replaced by removeRemoteSession, with paging and a summary of results","tier":"notice","area":"Background Tasks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301\/e\/remote-sessions-archive-replaced-by-removeremotesession-stu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301","markdown":"### Cloud session list: archiving replaced by removeRemoteSession, with paging and a summary of results\n\nCloud sessions now go through removeRemoteSession, which reports a result summary but in this build always fails with gate_off; the list also gains paging\n\n**Unclear.** It is not clear whether removing fails in every app that shows the session list or only in some.\n\n**What**\n\nThe list of cloud sessions (sessions that run on Anthropic's servers rather than on your machine) changed how sessions are removed and how the list loads.\n\n- `archiveRemoteSession` is gone from the session list. Removing a session now goes through a new `removeRemoteSession`.\n\n- In the fleet view (the overview of all your sessions), archiving now calls `removeRemoteSession` and adds up the results: how many sessions were deleted, how many failed, how many routines (scheduled or repeating tasks) were paused, and how many may still run.\n\n- Failures now carry a categorised reason instead of always reporting `archive_failed`.\n\n- In this build, `removeRemoteSession` always resolves to a failure with the reason `gate_off`.\n\n- The list now tracks whether older sessions remain to be loaded (`remoteListHasOlder`, `moreRemain`), and `listRemoteSessions` now takes an argument.\n\nBefore this release, archiving called `archiveRemoteSession`, which threw an \"archive rejected\" error on failure, and the failure reason was always `archive_failed`.\n\n**Why**\n\nRemoving cloud sessions is being reworked to report a clearer summary of what happened, including routines it paused. Because the new call fails with `gate_off` in this build, archiving cloud sessions from this list may not work for now.\n\n- Area: Background Tasks\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: yes"}