---
name: "gh-agent-task-list"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-agent-task-list"
---

# gh-agent-task-list(1)

List agent tasks (preview)

## NAME

gh-agent-task-list - List agent tasks (preview)

## SYNOPSIS

**gh agent-task list \[flags\]**

## OPTIONS

- **-q**, **--jq** **\<expression\>**

  Filter JSON output using a jq expression

- **--json** **\<fields\>**

  Output JSON with the specified fields

- **-L**, **--limit** **\<int\> (default 30)**

  Maximum number of agent tasks to fetch

- **-t**, **--template** **\<string\>**

  Format JSON output using a Go template; see "gh help formatting"

- **-w**, **--web**

  Open agent tasks in the browser

## JSON FIELDS

**completedAt**, **createdAt**, **id**, **name**, **pullRequestNumber**, **pullRequestState**, **pullRequestTitle**, **pullRequestUrl**, **repository**, **state**, **updatedAt**, **user**

## EXIT CODES

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

## SEE ALSO

**[gh-agent-task(1)](/gh-agent-task/1.md)**
