Skip to content

Pull Requests API

Pull request listing and statistics.

List Pull Requests

GET /api/pull-requests

All PRs across all repos. Supports pagination.

ParameterTypeDescription
pageINTPage number
limitINTItems per page
stateTEXTopen, closed, or merged

Get Repo Pull Requests

GET /api/pull-requests/:owner/:repo

PR Statistics

GET /api/pull-requests/stats
json
{
  "total": 67,
  "open": 12,
  "merged": 48,
  "closed": 7,
  "avg_merge_time_hours": 36
}

CI Runs API

Released under the MIT License.