API Reference
Integrate SentinelNexus security intelligence directly into your CI/CD pipelines and developer workflows.
Production Base URL
https://sentinelnexus-backend.onrender.com/api/v1Authentication
All endpoints except webhooks require a Bearer JWT token from Clerk. In the browser, this is handled automatically via session cookies.
Rate Limiting
Standard tier allows 100 requests per minute per user. Enterprise users can request higher limits via support.
Authentication
/auth/clerk/webhookAuth: Public (Svix Header Required)Clerk User Sync Webhook. Hardened with Svix signature verification.
/users/meAuth: Clerk JWTRetrieve current authenticated user profile and session data.
Scanning Engine
/scansAuth: Clerk JWTInitialize a new security scan. Supports 'code', 'prompt', and 'text' types.
{ "content": "...", "scan_type": "code", "project_id": "..." }/scans/:idAuth: Clerk JWTGet detailed results, CVSS scores, and findings for a specific scan.
Project Management
/projectsAuth: Clerk JWTList all active security projects for the current workspace.
/projectsAuth: Clerk JWTCreate a new project container for grouped vulnerability tracking.
{ "name": "API v2", "description": "..." }Reports & Intelligence
/reports/generate/:scan_idAuth: Clerk JWTGenerate a comprehensive PDF security report with CWE mappings.
/dashboard/statsAuth: Clerk JWTAggregation data for risk heatmaps and severity distribution.
Need a custom integration?
Our engineering team can help you build custom security scanners for proprietary codebases or specific compliance requirements.
Contact Integration Team