Skip to main content
anthropic.archiveSessionThread archives one child thread in a Claude multi-agent session.

Example

automations/anthropic-archive-session-thread.automation.ts

Inputs

Requires sessionId and threadId. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the archived thread. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.