gh-agent-task-list - Man Page
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
Referenced By
May 2026 GitHub CLI manual