Dashboard › cli › API_MAX_PER_PAGE pagination
01a082ab-fc59-7915-a82e-a8db97e240d9| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 2d ago |
List commands with --limit > API_MAX_PER_PAGE must transparently fetch multiple pages following listIssuesAllPages. Set perPage = Math.min(flags.limit, API_MAX_PER_PAGE) where the maximum is 100, then continue until results.length >= limit or pages end; sending the requested limit directly looks simpler but exceeds the API page cap.