Use cases
CI/CD pipelines
Run multi-engine review on every push. Block merges when critical findings surface. No IDE required.
PR automation
Post structured review comments directly on pull requests. Each finding includes file, line, severity, and next step.
Custom platforms
Build MegaLens review into your own tools. Internal dashboards, Slack bots, code review portals, anything with HTTP.
Batch audits
Review hundreds of files in a single run. Queue analysis jobs and collect results asynchronously.
Quick start
One POST request. Multi-engine review. Structured results.
curl -X POST https://megalens.ai/api/v1/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"skill": "code_intelligence",
"mode": "multi",
"tier": "standard",
"prompt": "Review this function",
"context": "..."
}'Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/analyze | Submit code for multi-engine review |
| GET | /api/v1/keys | List your API keys |
| GET | /api/v1/usage | View token usage and billing |
Skills
Each skill configures the review pipeline for a specific domain. Pass the skill name in the skill field.
code_intelligenceCode Intelligencesecurity_auditSecurity Auditfull_auditFull AuditresearchResearchseoSEOsaas_launchSaaS LaunchwordpressWordPresslegalLegalgeneralGeneralplanningPlanningdiff_auditDiff AuditModes
quickQuickSingle engine review. Fastest response. Best for simple checks where you need a quick answer, not a debate.
multiMultiFull debate pipeline. Multiple engines review independently, cross-examine, and a judge produces the final verdict.
Tiers
| Tier | Debaters | Judge | Appellate |
|---|---|---|---|
free | 2 | GPT 5.4 | -- |
standard | 3 | GPT 5.4 | -- |
deep | 3 | GPT 5.4 | Opus |
Pricing
Free
$0BYOK
Bring your own API keys. Full review pipeline, you pay model providers directly.
Pro
$15/mounlimited
Unlimited reviews. All engines included. No API keys needed.
Managed Credits
$9/M
Pay per million tokens. We handle routing, you control spend.
Multi-engine review via HTTP.
CI/CD, PR bots, custom tools. One endpoint, structured results, no IDE required.