GH-AGENT-TASK-LIST(1)

πŸ’… gh-agent-task-list β€” ok so you wanna see your agent tasks bestie

Manual name is gh-agent-task-list, and this whole thing lives in the GitHub CLI manual ✨ It's a preview command, so like… it's cute but it's still in beta, iykyk 🫢


🌸 NAME 🌸

gh-agent-task-list β€” literally just lists your agent tasks πŸ’– (preview, meaning it's still cooking πŸ“)


πŸ¦‹ SYNOPSIS πŸ¦‹

gh agent-task list [flags]

That's it. That's the whole vibe. Flags are optional, slay ✨


πŸŽ€ OPTIONS πŸŽ€

  • -q, --jq <expression> β€” filters the JSON output using a jq expression. You got a fave jq one-liner? Use it here πŸ’…
  • --json <fields> β€” spits out JSON but only with the fields you picked. Choose your fighters wisely πŸ‘‘
  • -L, --limit <int> (default 30) β€” the max number of agent tasks to fetch. Default is 30, so if you want more you gotta ask nicely πŸ₯Ί
  • -t, --template <string> β€” formats the JSON output with a Go template. Run gh help formatting if you need the tea on formatting β˜•
  • -w, --web β€” opens your agent tasks in the browser instead of the terminal. Main character move fr fr 🌈

⭐ JSON FIELDS ⭐

These are the fields you can ask for with --json, and yes, I'm listing every single one because we don't skip πŸ’–:

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

Like… the full PR moment. pullRequestNumber, pullRequestState, pullRequestTitle, pullRequestUrl β€” the whole set, we love a thorough queen πŸŽ€


🧚 EXIT CODES 🧚

Here's your vibe check after the command runs:

  • 0: Successful execution β€” ate and left no crumbs πŸ”₯
  • 1: Error β€” 😭 it's giving chaos
  • 2: Command canceled β€” nvm bestie, we bailed πŸ™ˆ
  • 4: Authentication required β€” you gotta log in first, no cap πŸ”‘
⚠️ NOTE: specific commands may have additional exit codes. Refer to the command's help for more information β€” so like, always double-check, ok? 🫢

🌟 SEE ALSO 🌟


ok that's the whole page, mwah πŸ’‹ This was GitHub CLI version v2.102.0, dated Oct 2026 β€” periodt, go list some tasks bestie πŸ’…βœ¨

πŸ“¦ where this page comes from