{"version":"2.1.327","anchor":"cloud-sessions-list-gains-paging-filters-and-pinned-session","canonical_anchor":"cloud-sessions-list-gains-paging-filters-and-pinned-session","heading":"Cloud session lists can be paged and filtered, and transcripts fetched per agent","tier":"use","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/cloud-sessions-list-gains-paging-filters-and-pinned-session","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Cloud session lists can be paged and filtered, and transcripts fetched per agent\n\nThe cloud sessions list now supports paging, filters for runs or archived sessions, and pinned sessions beyond the page; transcripts can be fetched per agent\n\n**What**\n\nPrograms built on Claude Code through its SDK (the kit for embedding Claude Code in other software) can now ask for a list of cloud sessions in more ways. Before, the only thing such a request could set was how many sessions to return. The `list_cloud_sessions` request now also accepts:\n\n- `cursor`, a marker for fetching the next page of results\n\n- `only_runs`, to list only runs\n\n- `only_archived`, to list only archived sessions\n\n- `include_pinned_beyond_page`, to include pinned sessions that fall outside the current page\n\nThe `get_cloud_session_transcript` request now accepts an `agent_id`, to fetch the transcript for one particular agent. It must be 1 to 128 letters, digits, `_` or `-`, and Claude Code rejects anything else with an error saying so. The cursor is checked as well.\n\n**Why**\n\nA program that shows cloud sessions can now page through a long list and narrow it down, instead of fetching everything in one go.\n\n- Area: SDK\n- Names: `list_cloud_sessions`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}