Get scan status
Returns a minimal payload with the scan’s current status. Use it for polling, since the response leaves out the findings summary that GET /scans/{id} computes.
Recommended polling
A poll interval of 10 to 30 seconds is enough. Pentests take minutes to complete, so tighter polling tells you nothing new and uses up your rate limit quota.
Stop polling when status reaches a terminal value: completed, failed, stopped, cancelled, or skipped.
Request
GET /scans/{id}/status
Send an API key with the read scope in the X-Api-Key header.
Path parameters
| Parameter | Description |
|---|---|
idstring, required |
Responses
200 OK
| Field | Description |
|---|---|
idstring, required | |
task_idstring, required | |
statusstring, required | One of pending, running, completed, failed, stopped, cancelled, skipped, pending_verification, pending_triage, draft, estimating, or estimated. |
created_atstring, required | |
updated_atstring, required |