> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List issue agent sessions

> List coding and other agent sessions attached to a Linear issue.

`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.

```ts automations/list-linear-agent-sessions.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { listLinearIssueAgentSessions } from "automate.ax/linear"

export default automation("Check Linear coding sessions", () => {
  onSchedule({ schedule: "*/5 * * * *" })
  listLinearIssueAgentSessions({ issueId: "ENG-123", limit: 20 })
})
```

`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.
