Skip to main content
POST
Get scan results by scan ID

Overview

Fetch the detailed results of an asset scan by scan ID, including enrichments, rules and checks results, and labels.

Authorizations

X-API-KEY
string
header
required

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Body

application/json
scanId
number
required

The ID of the asset scan to retrieve results for

workflowId
string

Optional Temporal workflow ID to check if scan is still processing

Response

Successful response

scanId
number
required

The ID of the asset scan

status
enum<string>
required

Current status of the scan

Available options:
PENDING,
IN_PROGRESS,
COMPLETED,
FAILED
asset
object
required

Information about the scanned asset

enrichments
object[]
required

Array of enrichments performed on the asset

labels
object[]
required

Array of labels assigned to the scan

createdAt
string
required

When the scan was created

updatedAt
string
required

When the scan was last updated

result
object

Processed scan result data