GH-AGENT-TASK-LIST(1) GitHub CLI manual GH-AGENT-TASK-LIST(1)

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

gh agent-task list [flags]

Filter JSON output using a jq expression
Output JSON with the specified fields
Maximum number of agent tasks to fetch
Format JSON output using a Go template; see "gh help formatting"
Open agent tasks in the browser

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

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.

gh-agent-task(1)

Sep 2026