Skip to main content
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 the Authorization 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 closed
integer
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:
Where:
  • completed_reviews: Reviews with status = β€œcompleted”
  • total_reviews: Total unique PRs (deduplicated by repo + PR number)

Average Processing Time

Average duration from started_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. Returns null if no merged PRs exist.

PR Size

Sum of additions and deletions for each PR:

Use Cases

Dashboard Overview

Monitor Team Velocity

Activity Tracking