Documentation Index
Fetch the complete documentation index at: https://bilanc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Pull Request Metrics
Pull request metrics provide insights into the volume, size, productivity, and interactions of pull requests in your repositories.Available Metrics
Number of pull requests
Size of pull requests (additions + deletions)
Percentage of PRs that received at least one review
Code complexity score of pull requests
Number of unique contributors
Number of reviews submitted
Number of review interactions
Number of review rounds per PR
Average number of reviewers per PR
Number of distinct reviewers in the period
Rate of reviews that requested changes
Comment interaction count
Number of comments
Average number of comments per PR
Commit interaction count
Number of commits
Pull Requests Count Metric
This endpoint provides the count of pull requests based on specified filters.Pull Requests Size Metric
This endpoint provides information about the size of pull requests.Complexity Score Metric
This endpoint provides the complexity score of pull requests, which measures code complexity introduced per PR.Parameter Notes
For pull request metrics, the following date fields are available:
created_at: When the PR was createdmerged_at: When the PR was mergedclosed_at: When the PR was closed
Required for non-count metrics. Accepted values:
SUM, MAX, MIN, AVG.
Count-based metrics (pull-requests-count, reviews-count, comments-count, commits-count, review-interactions-count, comment-interactions-count, commit-interactions-count, review-rounds, active-reviewers, reviewers-per-pr, review-rate, changes-requested-rate, comments-per-pr, contributors-count) do not require an aggregation.Common Use Cases
- Monitor PR Volume: Track the number of PRs created over time
- Identify Large PRs: Find PRs that are above a certain size threshold using
metric_min_value - Analyze Review Culture: Track review rate and comments per PR
- Assess productivity Trends: Monitor if code productivity is increasing or decreasing over time
- Team Comparison: Compare PR metrics across different teams or repositories

