Get scan status and metadata by ID
GET/api/v1/sbom/scans/:id
Get scan status and metadata by ID
Request
Path Parameters
id stringrequired
Scan job UUID
Responses
- 200
- 404
Scan status and metadata
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Scan job UUID
status stringrequired
Possible values: [queued, running, complete, failed]
Current status of the scan
target stringrequired
Scan target (image name, file path, registry URL, etc.)
targetType stringrequired
Possible values: [docker, registry, file, dir, oci-archive]
Type of the scan target
format stringrequired
Possible values: [syft-json, spdx-json, cyclonedx-json, table, text]
SBOM output format
triggeredBy string
Who or what triggered this scan
error string
Error message if the scan failed
failureReason string
Short reason code for the failure
createdAt date-timerequired
Timestamp when the scan was created
updatedAt date-timerequired
Timestamp of the last status update
completedAt date-time
Timestamp when the scan reached a terminal state
{
"id": "string",
"status": "queued",
"target": "string",
"targetType": "docker",
"format": "syft-json",
"triggeredBy": "string",
"error": "string",
"failureReason": "string",
"createdAt": "2026-04-22T16:58:13.351Z",
"updatedAt": "2026-04-22T16:58:13.351Z",
"completedAt": "2026-04-22T16:58:13.351Z"
}
Scan not found
Loading...