# requestScansForSite Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.sites.SitesSession.requestScansForSite/ requestScansForSite --- ## Declaration suspend fun requestScansForSite( siteId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): ScanResult #### Summary Requests every scan of a site, of all types and statuses. Filter on ScanInfo.scanType for ScanType.VALIDATION to find scans that playback opens. #### Returns ScanResult containing the site's scans. #### Throws SitesException -- if the request fails with an error. A token scoped to site-assets cannot list scans and fails with SitesError.HTTP_FORBIDDEN. kotlinx.coroutines.CancellationException -- if the coroutine is cancelled. ### Parameters | Name | Type | Summary | | --- | --- | --- | | siteId | String | The site ID to list scans for. | | timeoutMs | Long | Maximum time to wait for the request to complete. | ---