Flat paginated list of the pull requests behind the PR Health report: every open PR (drafts included, bucketed DRAFT) plus PRs closed without merging whose closed timestamp falls in [startDate, endDate] (bucketed CLOSED_UNMERGED). Buckets use the report's inactivity classifier against the org's thresholds, echoed in the response. The team settings apply as they do to the report. Without bucket the list holds every bucket except AUTOMATION; bucket=AUTOMATION returns exactly the open automation pull requests (declared bots and automation-pattern matches, drafts included), whose totalElements equals the report's totals.automationPrs, and ignores assistedOnly. Closed automation pull requests are in no bucket. bucket filters to one bucket; author filters to one provider login, with unknown also selecting rows that carry no login, matching the report's grouping. repo filters to one repository by name, case-insensitively. cause returns one action-queue cause instead: only open pull requests of that cause (AUTOMATION, STUCK_DRAFT, AUTHOR_GONE, APPROVED_NOT_MERGED, CHANGES_REQUESTED_QUIET, WAITING_ON_REVIEW or ON_PACE, case-insensitive), each row carrying its cause, ordered exactly like the queue's group so the queue's preview rows are this page's first rows; startDate and endDate then filter nothing, and cause with bucket is a 400. departmentId narrows the page and totalElements together, before paging. sortBy inactivity orders by days since last provider-side activity, age by days since the PR was opened, repo by repository name then number, author by provider login and review by first review time; default is inactivity desc (stalest first) with repo/number tiebreaks. triaged=EXCLUDE (the default) drops open pull requests the team dismissed or snoozed until a date after today (UTC); triaged=ONLY returns just those, each row carrying its triage record, and no closed rows. Automation ignores dismissals, so bucket=AUTOMATION and cause=AUTOMATION are the same under both. With triaged=ONLY and no bucket, cause, repo, author or assistedOnly, totalElements equals the report's totals.triagedPrs. size is capped at 200. The window may span at most 366 days counting both startDate and endDate (for example 2024-01-01 to 2025-01-01, so a one-year window that crosses 29 February is one day too wide), and startDate must not be after endDate; either violation is a 400.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||