List scans with pagination, filtering, and sorting.
read| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | 1‑based page number. |
limit | integer | 15 | Items per page. Max 100. |
scan_type | enum | — | Filter by scan type. Values: pr, full. |
status | enum | — | Filter by status. See Scan statuses. |
sort_by | enum | created_at | One of created_at, updated_at, status. |
sort_order | enum | DESC | ASC or DESC. |
| Value | Meaning |
|---|---|
pending | Scan queued, not yet started. |
running | Scan is in progress. |
pending_verification | Findings are being verified automatically. |
pending_triage | Findings are ready for triage. |
completed | Scan finished successfully. |
failed | Scan failed. See scan detail for error context. |
stopped / cancelled | Scan was stopped or cancelled before completion. |
skipped | Scan was skipped (no applicable content). |
draft | Scan was created but never started. |
200 OK
| Field | Type | Description |
|---|---|---|
id | UUID | Scan identifier. |
task_id | string | Internal task ID for correlation with the dashboard. |
scan_type | enum | pr or full. |
status | enum | Current scan status. |
name | string|null | Display name. Defaults to repo@branch. |
repo_url | string|null | Primary repository URL. |
branch | string|null | Primary branch scanned. |
pr_number | integer|null | GitHub PR number (PR scans only). |
target_urls | string[]|null | Live targets for Whitebox Scans. |
findings_summary | object | Approved finding counts by severity. |
created_at | string | ISO 8601 timestamp. |
updated_at | string | ISO 8601 timestamp. |