Analytics Summary
Analytics
Analytics Summary
Get high-level analytics summary across all reviewed PRs
GET
Analytics Summary
Overview
Retrieve comprehensive analytics including total reviews, success rates, processing times, and repository metrics. Data is deduplicated by unique PR to provide accurate insights.Authentication
Requires a valid JWT token in theAuthorization header:
Response
integer
Total number of unique PRs reviewed (deduplicated by repo + PR number)
float
Percentage of reviews that completed successfully (0-100)
float
Average time in seconds to complete a review
integer
Number of active repositories connected to your account
integer
Number of PRs reviewed today
integer
Number of PRs reviewed in the last 7 days
float
Average time in hours from PR creation to merge (null if no merged PRs)
integer
Average PR size in lines changed (additions + deletions)
array
Array of PRs reviewed in the last 7 days
integer
Pull request number
string
PR title
string
GitHub username of the author
string
Repository full name (owner/repo)
string
Current PR state:
open, merged, or closedinteger
Lines added in the PR
integer
Lines deleted in the PR
integer
Number of files modified in the PR
Example Request
Example Response
Metrics Explanation
Success Rate
Calculated as:completed_reviews: Reviews with status = βcompletedβtotal_reviews: Total unique PRs (deduplicated by repo + PR number)
Average Processing Time
Average duration fromstarted_at to completed_at for all completed workflow runs. Excludes outliers (>5 minutes) to prevent skewing from stuck processes.
Average Merge Hours
Calculated only for merged PRs with valid timestamps. Excludes outliers (>30 days) to prevent skewing from stale PRs. Returnsnull if no merged PRs exist.