---
title: "Get Scan"
method: GET
path: "/v1/scans/{scan_id}"
tags: ["scans"]
---

# Get Scan

`GET /v1/scans/{scan_id}`

Get details of a scan by scan ID

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- ScanStatusItem
  - `scan_id` string, required
  - `status` string, required
  - `scan_time_elapsed` string, required
  - `progress` integer, required
  - `failure_reason` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `total_target` integer, required
  - `completed_at` string, required
  - `total_scan` integer, required
  - `total_template` integer, required
  - `name` string, required
  - `severity` object
  - `is_oss` boolean, required
  - `is_cloud` boolean, required
  - `asset_ids` string[]
  - `is_rescan` boolean
  - `public_templates` string[]
  - `report_config_ids` string[]
  - `rescan_count` integer
  - `scan_config_ids` string[]
  - `template_ids` string[]
  - `template_urls` string[]
  - `schedule` ScanSchedule
    - `scan_frequency` string, required
    - `scan_id` string, required
    - `schedule_last_run` string, required
    - `schedule_next_run` string, required
    - `start_time` string, time
    - `hourly_frequency` integer
    - `custom_weekdays` integer[] — Array of integer denoting the weekdays on which the scan is supposed to run. 0-6 denoting Sunday-Saturday.
  - `total_result` integer, required
  - `is_automatic` boolean
  - `agent_id` string
  - `agent_tags` string[]
  - `agent_networks` string[]
  - `agent_behavior` 'distribute' | 'mirror'
  - `is_internal` boolean

## Other responses

- `400` — Example response
- `401` — Example response
- `404` — Example response
- `499` — Example response
- `500` — Example response
- `default` — Example response

---

[API](https://skmtc.net/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.net/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/versions/220f0adf9efd/schema)
