/api/reviews and require authentication.
List reviews
GET /api/reviews
Returns a paginated list of review history records, optionally filtered by project, status, or date range.
Page number (1-indexed). Default:
1.Items per page. Default:
20.Filter by project UUID.
Filter by review status. Values:
pending, completed, failed.ISO 8601 start date for date range filter.
ISO 8601 end date for date range filter.
200
List of review history objects.
Aggregate statistics for the filtered result set.
Standard pagination metadata.
Trigger a manual review
POST /api/reviews/trigger-manual-review
Manually queues an AI review for a specific merge request or pull request. Returns 202 Accepted with a task ID you can poll for status.
Requires the review:create permission.
UUID of the project to review.
Internal MR / PR number on the platform (the
!42 or #42 number).Whether to post review comments back to GitLab / GitHub. Defaults to the project setting.
UUID of the review template to use. Defaults to the project or global default.
202
true when the task was successfully queued.Get review details
GET /api/reviews/:reviewId
Returns full details for a single review.
UUID of the review.
200
Full review record. Same fields as the list response items, plus
baseCommitSha, headCommitSha, roundNumber, appliedRuleIds, and reviewedLines.List review comments
GET /api/reviews/:reviewId/comments
Returns AI-generated comments for a review with optional filtering.
UUID of the review.
Filter comments to a specific file path.
Filter by severity. Values:
info, warning, error.Maximum number of comments to return. Default:
20.Number of comments to skip for pagination. Default:
0.200
List review files
GET /api/reviews/:reviewId/files
Returns the files that were reviewed.
UUID of the review.
200
Get file review progress
GET /api/reviews/:reviewId/files/progress
Returns per-file processing progress and prompt summary for an in-progress or completed review.
UUID of the review.
200
Array of file progress objects, each containing the file path and current processing status.
Retry a single file review
POST /api/reviews/:reviewId/files/:fileId/retry
Re-runs the AI review for a single file within an existing review. Requires review:create permission.
UUID of the review.
UUID of the review file record to retry.
List review rounds
GET /api/reviews/:reviewId/rounds
Returns all review rounds. Multi-round reviews are used for differential re-reviews after new commits.
UUID of the review.
200
List review feedbacks
GET /api/reviews/:reviewId/feedbacks
Returns user feedback records (positive / negative) for a review’s comments.
UUID of the review.
200
Get AI call logs
GET /api/reviews/:reviewId/ai-logs
Returns a log of every AI API call made during the review, including token usage and response times.
UUID of the review.
Maximum number of log entries to return. Default:
50, max: 200.Number of entries to skip. Default:
0.Filter by AI provider name.
Filter by call status (e.g.,
success, failed).200
Get execution logs
GET /api/reviews/:reviewId/logs
Returns runner / executor execution logs for a review.
UUID of the review.
200
Execution log data for the review’s runner task.
List all review tasks
GET /api/reviews/tasks
Returns a paginated list of all review queue tasks (both automatic and manual).
Page number. Default:
1.Items per page. Default:
20.Filter by task status (e.g.,
pending, completed, failed).Manual review helper endpoints
Get projects available for manual review
GET /api/reviews/manual/projects
Returns projects that are enabled and can have a manual review triggered.
Get manual review history
GET /api/reviews/manual/history
Number of recent entries to return. Min:
1, max: 20, default: 5.Get merge requests for a project
GET /api/reviews/manual/merge-requests
Fetches open MRs / PRs from the platform for use in the manual review dialog.
UUID of the project.
MR state filter:
all | opened | merged | closed. Default: opened.Search term to filter MRs by title.
Get recent manual tasks
GET /api/reviews/manual/tasks/recent
Number of tasks to return. Default:
5.Get manual task status
GET /api/reviews/manual/tasks/:taskId
Poll the status of a specific manual review task.
Task ID returned by the trigger endpoint.
200
Task record including
id, status, reviewId, and timestamps.List review templates
GET /api/reviews/templates/all
Returns all available review prompt templates.
Response 200
List review rules
GET /api/reviews/rules/all
Returns all configured review rules (file pattern matching, severity filters, etc.).
Response 200