When to Use This Endpoint
Use this endpoint to:- Poll the status of a running scan.
- Retrieve summary statistics like finding counts and risk scores.
Request
Endpoint| Parameter | Required | Description |
|---|---|---|
productId | ✅ | Product ID |
imageId | ✅ | Image ID |
scanId | ✅ | Scan ID |
| Header | Value |
|---|---|
Authorization | Bearer <access_token> |
Example Request
Response
| Field | Description |
|---|---|
id | Scan ID |
parent | Parent resource path (product/image) |
createTime | When the scan was created |
author | User or service that initiated the scan |
latestScanState | Object containing scan status |
latestScanState.type | Status: in_progress, completed, failed, cancelled |
latestScanState.updateTime | When the status was last updated |