v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBScansService
List scans (beta)
List the scans associated with a particular repository over the past 30 days.
post/api/v1/deployments/{deploymentId}/scans/search
Path parameters
deploymentIdstring int64 required
Deployment ID (numeric). Example: 123. Can be found at /deployments, or in your Settings in the web UI.
Request body
Response
OK
Example response
{
"scans": [
{
"branch": "main",
"commit": "6d3de02545f820febf2af9820568fa5f697d4087",
"completed_at": "2020-11-18T23:30:10.216Z",
"enabled_products": [
"secrets"
],
"is_full_scan": true,
"started_at": "2020-11-18T23:28:12.391Z",
"status": "SCAN_STATUS_RUNNING",
"total_time": 17.32
}
]
}