Start a Scan
Endpoint
Request Body
Example Request
Response
Scan Specific Files
To scan only certain files:Get Scan Status
Endpoint
Example Request
Response
Status Values
Polling for Completion
Poll the status endpoint until the scan completes:Finding Your Codebase ID
ThecodebaseId is required to start a scan. Find it:
Via Dashboard
- Go to Repositories
- Click a repository
- The codebase ID is in the URL:
/repositories/codebase_abc123
Via API
List repositories to get codebase IDs (contact support for this endpoint documentation).Error Handling
Common Errors
Error Response Format
Rate Limits
If rate limited, wait and retry:
Complete Example
Related Pages
API Authentication
Authentication setup
Issues API
Access scan results
CLI Scanning
CLI alternative
CI/CD Integration
Automate scans

