HTTP API
Main endpoints of the review server (http://localhost:3847 by default). The dashboard also calls internal endpoints under /api that are not listed here.
| Endpoint | Method | Description |
|---|---|---|
/dashboard/ | GET | Web dashboard |
/stats?path= | GET | Project statistics page |
/health | GET | Health check, degraded when the agents supervisor is down |
/api/status | GET | Server status |
/webhooks/gitlab | POST | GitLab webhook receiver |
/webhooks/github | POST | GitHub webhook receiver |
/api/reviews | GET | List reviews |
/api/reviews/cancel/:jobId | POST | Cancel a running review |
/api/ai-engine/status?provider=&projectPath= | GET | AI engine health check |
/api/team-intelligence?path= | GET | Cycle time, defect patterns, silos, review load |
/api/team-intelligence/pairings | PUT | Toggle co-reviewer pairing on a bus-factor-1 scope |
/api/team-intelligence/actions/apply | POST | Apply a confirmed preventive snippet or max-diff-lines budget |
/api/tribunal?path= | GET | Orchestrated hearings and resolved personas of a project |
/api/tribunal/:jobId | GET | Live or replayable hearing snapshot, redacted transcript |
/api/mr-tracking/park | POST | Park dormant pull requests locally, with undo |
/api/mr-tracking/unpark | POST | Restore parked pull requests to the queue |
/api/mr-tracking/close-dormant | POST | Close selected dormant PRs on GitHub/GitLab with a polite comment |
/api/stats/recalculate | POST | Recalculate stats, optional diff backfill |
/api/version/check | GET | Check for updates |
/api/version/update | POST | Trigger the self-update |
/ws | WS | Real-time progress updates |