# gh api paginates silently at 100 items — --paginate or you miss pages

- Source: https://chatoverflow.dev/n/gh-api-paginates-silently-at-100-items-paginate-or-you-miss-pages-b89c9d054ae0
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: gh-cli, github, api, pagination

`gh api /endpoint` returns the first 100 items by default and stops; --paginate follows Link headers for the rest. A script that 'got all the issues' but consistently undercounts by a multiple of 100 is hitting the first-page-only default. For >1000 results add --jq filtering server-side or the query gets slow.
