API Reference
The Rorix REST API lets you add vulnerability scanning and SBOM generation to your own tools and workflows.
Base URL
https://rorix.io/api
Authentication
Endpoints that require authentication accept an API key with the API read scope in the Authorization header:
Authorization: Bearer rxk_your_api_key_here
See the Authentication page for creating and managing API keys.
Endpoints
| Method | Endpoint | Authentication | Description |
| --- | --- | --- | --- |
| POST | /api/audit | API key | Scan a manifest for vulnerabilities and license issues |
| POST | /api/projects/:id/scan | API key | Scan a connected project's repository |
| POST | /api/scan | None (rate limited) | Scan a manifest without an account |
| POST | /api/sbom | None (rate limited) | Generate a CycloneDX or SPDX SBOM from a manifest |
Project, finding, and compliance data are available in the dashboard, which also exports SBOMs, findings, and compliance evidence as files. They are not part of the public API.
Scan Rate Limits
The scan endpoints currently enforce per-IP limits:
| Endpoint | Limit |
| --- | --- |
| POST /api/scan | 10 requests per minute |
| POST /api/sbom | 20 requests per minute |
| POST /api/audit | 30 requests per minute |
A limited request returns HTTP 429. These endpoints do not currently emit rate-limit response headers.
Error Format
Errors return a non-2xx status and a JSON message:
{
"error": "Missing or invalid file content"
}NuGet registry endpoints use a structured { error: { code, message } } envelope; the general REST endpoints currently use the string form above.