Skip to main content
The Scanning API allows you to programmatically trigger and monitor security scans.

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

The codebaseId is required to start a scan. Find it:

Via Dashboard

  1. Go to Repositories
  2. Click a repository
  3. 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

API Authentication

Authentication setup

Issues API

Access scan results

CLI Scanning

CLI alternative

CI/CD Integration

Automate scans