---
title: "Get scan status"
method: GET
path: "/api/scans/{scan_id}/status"
tags: ["scans"]
---

# Get scan status

`GET /api/scans/{scan_id}/status`

Get current status, progress, and active agent for a scan.

## Path parameters

- `scan_id` integer, required

## Response `200`

Current scan status

- ScanStatusResponse
  - `scan_id` integer
  - `target` string
  - `status` 'PENDING' | 'INITIALIZING' | 'RUNNING' | 'PAUSED' | 'COMPLETED' | 'STOPPED' | 'FAILED' — Scan lifecycle status
  - `progress` integer
  - `uptime_seconds` number, nullable
  - `findings_count` integer
  - `active_agent` string, nullable
  - `phase` string, nullable
  - `origin` 'cli' | 'web' | 'unknown' — Where the scan was launched from

## Other responses

- `404` — Scan not found

---

[API](https://skmtc.net/bugtraceai/apis/bugtraceai-cli-api.md) · [All operations](https://skmtc.net/bugtraceai/apis/bugtraceai-cli-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bugtraceai/bugtraceai-cli-api/versions/312bfc1148dc/schema)
