listLinearIssueAgentSessions reads the agent-session history for one issue. Use it after delegation to monitor work without using Linear as the transport for direct Codex cloud tasks.
automations/list-linear-agent-sessions.automation.ts
issueId accepts a UUID or human-readable identifier. Common page inputs are limit (1 to 50, default 50), after, and includeArchived. Optional second argument { account } defaults to the project binding.
Returns { agentSessions: LinearAgentSession[]; pageInfo: LinearPageInfo }, ordered by most recent update. Each session includes the agent app, issue, nullable provider plan and summary, external links, lifecycle dates, and status.