Skip to main content
getLinearAgentSession reads one coding session created through Linear delegation.
automations/get-linear-agent-session.automation.ts
agentSessionId is required. Optional second argument { account } defaults to the project binding. Returns a LinearAgentSession with its app user, issue, lifecycle dates, provider summary and plan, external links, and status. plan is null until the agent reports one. Status is pending, active, awaitingInput, complete, error, or stale.