List Reviews
Retrieve recent pull request reviews with optional filtering.GET /api/v1/reviews
Authentication: Required
Query Parameters
Maximum reviews to return (1-100)
Filter by review status:
pending, processing, completed, failedSearch by PR title, repository name, or PR number
Response
Array of review objects:Event ID
Event type (e.g.,
"opened_pull_request", "synchronize_pull_request")Event source (always
"github")Review processing status:
pending, processing, completed, failedPull request state (live from GitHub):
open, merged, closedISO 8601 timestamp when webhook was received
ISO 8601 timestamp when review completed
Pull request title
Pull request number
Full repository name (e.g.,
"octocat/nectr")Head branch name
GitHub username of PR author
GitHub pull request URL
Full AI-generated review summary (only present for completed reviews)
Number of files analyzed in the review
Example Response
Deduplication
Reviews are automatically deduplicated by PR number + repository. If multiple webhook events exist for the same PR (e.g.,opened and synchronize), only the most recent event with the highest priority status is returned:
Priority: completed > failed > processing > pending
Live PR Status
Thepr_status field is fetched live from GitHub on each request to ensure accuracy (e.g., a PR may have been merged after the review was created).
Get Review Details
Retrieve a single review with full AI summary.GET /api/v1/reviews/{review_id}
Authentication: Required
Review event ID
Response
Single review object (same structure as list endpoint).Example Response
Error Responses
- 404: Review not found