Skip to main content
GET
Get Review Details

Overview

Fetch complete details for a single PR review by its event ID, including the full AI-generated summary and all analyzed files.

Authentication

Requires a valid JWT token in the Authorization header:

Path Parameters

integer
required
The unique event ID of the review

Response

Returns a single review object with full details.
integer
Event ID
string
Type of event (e.g., “pull_request”)
string
Event source (e.g., “github”)
string
Processing status: pending, processing, completed, or failed
string
Current PR status: open, merged, or closed
datetime
Timestamp when the event was created
datetime
Timestamp when the event was processed (null if pending)
string
Pull request title
integer
Pull request number
string
Repository full name (owner/repo)
string
Source branch name
string
GitHub username of the PR author
string
Direct URL to the pull request on GitHub
string
Complete AI-generated review summary including verdict, confidence score, and detailed findings
integer
Total number of files analyzed by the AI reviewer

Example Request

Example Response

Error Responses

Review Not Found

HTTP Status: 404 Not Found

Unauthorized

HTTP Status: 401 Unauthorized

AI Summary Format

The ai_summary field contains a structured review with the following elements:
  1. Verdict: One of APPROVE, REQUEST_CHANGES, or NEEDS_DISCUSSION
  2. Confidence Score: Rated from 1/5 to 5/5
  3. Categorized Issues: Grouped by severity with emoji indicators:
    • 🔴 Critical: Security vulnerabilities, breaking changes, data loss risks
    • 🟡 Moderate: Performance issues, code quality concerns, missing tests
    • 🟢 Minor: Style suggestions, documentation improvements, refactoring opportunities
  4. Detailed Analysis: Context-aware insights based on the codebase and PR changes
  5. Recommendation: Final verdict on whether the PR should be merged

Use Cases

Display Full Review in UI

Extract Verdict and Confidence