/api/v1/scanSet async to true for the recommended HTTP 202 queue contract. Clients that omit async use a bounded legacy compatibility wait and should migrate to explicit polling.
Request and response example
Request body
{ "url": "https://example.com", "async": true }Response
{
"scan": {
"id": "cln...",
"url": "https://example.com/",
"hostname": "example.com",
"domainId": "cld...",
"status": "PENDING",
"reused": false,
"links": {
"status": "/api/v1/scans/cln.../status",
"result": "/api/v1/scans/cln...",
"fullResult": "/api/v1/scans/cln.../full"
}
},
"message": "Scan queued. Poll the status endpoint for progress and results."
}