anthropic.archiveSession archives a Claude session while retaining its history.
Example
automations/anthropic-archive-session.automation.ts
Inputs
RequiressessionId. Inputs use public camelCase names and accept signals.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Archives a Claude session while retaining its history.
anthropic.archiveSession archives a Claude session while retaining its history.
import { automation, onInvocation, withPrerequisites } from "automate.ax"
import { anthropic } from "automate.ax/anthropic"
export default automation("Archive session", () => {
withPrerequisites(onInvocation(), () => {
anthropic.archiveSession({ sessionId: "session-id" })
})
})
sessionId. Inputs use public camelCase names and accept signals.