Skip to main content
anthropic.getSession gets current status, usage, resources, and outcome state for a session.

Example

automations/anthropic-get-session.automation.ts

Inputs

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

Output and behavior

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