API Reference
Log In
API Reference

Get one page of the PR Health pull requests

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. 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. Known bot authors are excluded. sortBy inactivity orders by days since last provider-side activity, age by days since the PR was opened; default is inactivity desc (stalest first) with repo/number tiebreaks. size is capped at 200.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

VCS source: github or gitlab

date
required

Start date (ISO yyyy-MM-dd) of the closed-without-merge window

date
required

End date (ISO yyyy-MM-dd), inclusive

string

ROTTING, AGING, ACTIVE, DRAFT or CLOSED_UNMERGED

string

Provider login, as returned in the report's engineers[].authorLogin; unknown also selects rows with no provider login

int32
Defaults to 0

Zero-based page index

int32
Defaults to 50

Page size, 1..200

string
Defaults to inactivity

inactivity or age

string
Defaults to desc

asc or desc

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*