Complete API reference for Rafter’s public scanning API
Method | Endpoint | Description |
---|---|---|
GET | /api/static/usage | Check your API quota and remaining scans |
POST | /api/static/scan | Trigger a new security scan for a repository |
GET | /api/static/scan | Check scan status and retrieve results |
x-api-key
header with every request.
RF
and should be kept secure. Never commit it to version control. Use environment variables or secure secret management systems.Status Code | Description |
---|---|
200 | Success |
400 | Bad Request - Missing required fields |
401 | Unauthorized - Invalid API key |
403 | Forbidden - Quota exceeded |
404 | Not Found - Resource not found |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error |