Metrics Endpoints
PR Metrics
Get pull request metrics for your enterprise
GET
Returns pull request metrics for your enterprise, including counts of PRs opened, closed, and merged.
Query Parameters
Start date for the metrics period. Defaults to the beginning of the current billing cycle.
End date for the metrics period. Defaults to the current date.
Array of organization IDs to filter metrics. If not provided, returns metrics for all organizations.
Array of user IDs to filter metrics. If not provided, returns metrics for all users.
Response
Total number of pull requests opened in the specified period
Total number of pull requests closed in the specified period
Total number of pull requests merged in the specified period