Integrate Scault into your CI/CD pipeline, scripts, and tools.
Include your API key in the Authorization header:
Generate API keys at Dashboard → Settings → API Keys
curl -X POST https://scault.io/api/scan/execute \ -H "Authorization: Bearer sk_live_your_api_key" \ -F "projectName=my-app" \ -F "platforms=[\"linux\",\"macos\"]" \ -F "scanTypes=[\"sast\",\"sca\",\"secrets\"]" \ -F "file:src/app.ts=@./src/app.ts" \ -F "file:package.json=@./package.json"
{
"scan": {
"id": "scan-live-101",
"projectName": "my-app",
"status": "completed",
"summary": {
"total": 7,
"critical": 1,
"high": 2,
"medium": 3,
"low": 1,
"info": 0
},
"findings": [
{
"id": "scan-live-101-f1",
"scanType": "sast",
"title": "SQL Injection via String Concatenation",
"severity": "critical",
"cwe": "CWE-89",
"file": "src/app.ts",
"line": 12,
"recommendation": "Use parameterized queries..."
}
]
}
}/api/auth/loginAuthenticate and get session token/api/auth/signupCreate a new account/api/auth/sessionGet current session/api/scan/executeUpload code and run a security scan/api/scanList all scans/api/scan/:idGet scan details and findings/api/scan/:id/streamSSE stream for real-time scan progress/api/scan/results/:idGet detailed scan results/api/export?format=jsonExport all findings as JSON/api/export?format=csvExport all findings as CSV/api/export?severity=critical,highExport filtered findings/api/badge?style=scoreSecurity score badge (SVG)/api/badge?style=findingsFindings count badge/api/badge?style=statusPass/fail status badge/api/badge?style=criticalCritical findings badge/api/webhooks/githubGitHub App webhook receiver/api/webhooks/stripeStripe billing webhook receiverAdd a security badge to your repository:
60 req/hour
1,000 req/hour
10,000 req/hour