anthropic.listSessions lists Claude sessions with cursor and lifecycle filters.
Example
automations/anthropic-list-sessions.automation.ts
Inputs
Supports bidirectional cursors, agent/version, status, creation time, deployment, memory-store, ordering, and archive filters. Inputs use public camelCase names and accept signals.Output and behavior
Returnsdata, nextPage, and prevPage.
Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.