Skip to main content

Scan API

Scans available via an API endpoint. To fetch the current state of a scan, you can make a GET request to https://dyscanweb.dyneti.com/api/v1/scan/<scanId>, replacing <scanId> with the ID of the intended scan. This will return a Scan object representing the current state of the scan.

const response = await fetch("https://dyscanweb.dyneti.com/api/v1/scan/<scanId>", {
method: "GET",
headers: {
'X-API-KEY': 'YOUR_API_KEY_HERE',
'Content-Type': 'application/json'
}
})

For a detailed explanation of the returned JSON object, please see the Scan documentation.