Get scan status
Poll until status is a terminal state (COMPLETED, FAILED, or CANCELLED). The CLI polls every --poll-interval seconds. Active scans also include currentPhase and currentPhasePct. Requires the scans:read scope.
Authorizations
Scoped API token from Settings → API Tokens (scopes: scans:trigger, scans:read).
Headers
Cloudflare Access service-token client id (ends in .access). Only for CF-Access-fronted deployments; leave blank for self-hosted.
Cloudflare Access service-token secret. Pair it with CF-Access-Client-Id.
Path Parameters
Scan job ID returned by a trigger call.
Response
Current scan state.
Terminal states are COMPLETED, FAILED, and CANCELLED.
PENDING, RUNNING, COMPLETED, FAILED, CANCELLED Scan tiers to run. Omit for the server default (SAST, SCA, SECRET, IAC for repositories). Valid values depend on target type.
Present while RUNNING.
0–100, present while RUNNING.