Skip to main content

API Introduction

The Corbulo API provides programmatic access to code health assessments, PR analysis, architecture insights, and project management. All endpoints return JSON and follow standard REST conventions.

Base URL

For self-hosted deployments:

Authentication

All API requests require an API key passed as a Bearer token in the Authorization header.
See the Authentication page for details on creating and managing API keys.

Request/Response Format

All request and response bodies use JSON. Include Content-Type: application/json for POST, PATCH, and PUT requests.

Error Responses

Errors return a JSON object with an error field:

HTTP Status Codes

Pagination

List endpoints use limit and offset query parameters for pagination.
Paginated responses include total_count (or total), limit, and offset fields alongside the items array.

API Endpoints Overview

Projects

Code Health

Analysis

Pull Requests

Architecture

Repositories