Skip to main content

Pull Requests API

Corbulo analyzes pull requests for code quality issues, merge readiness, scope drift, health impact, and conflicts with other open PRs. Analyses run automatically on PR events or can be triggered manually.

List PR Analyses

Returns paginated PR analyses for a project.

Query Parameters


Get PR Analysis

Returns a full PR analysis by ID, including all analysis sections.

Response Fields

Merge Readiness Status


Get Latest Analysis for PR

Returns the most recent analysis for a specific pull request.
Returns the same response format as Get PR Analysis. Returns 404 if no analysis exists for the PR.

Trigger PR Analysis

Starts a new analysis for a pull request. The analysis runs asynchronously.

Request Body

The analysis runs asynchronously. Poll the Get PR Analysis endpoint or use the Get Latest Analysis for PR endpoint to check for completion.

Get PR Statistics

Returns aggregate statistics for PR analyses in a project.

Query Parameters