Poll Scan Status
Check whether a visibility scan has finished and get progress updates.
Authentication: Required
After triggering a scan, use this endpoint to check whether it's done. Poll every 30–60 seconds until scanAvailable is true, then grab the full report.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
syntheticId | integer | Yes | The brand agent ID returned when you triggered the scan. |
Example
Response — scan complete
When the scan is done, you'll get the top-level scores and a pointer to the full report:
Response — scan still running
Response — no scan found
Polling strategy
A typical scan takes 2–5 minutes depending on the number of queries and platforms. Here's a reasonable polling loop:
- Trigger the scan with
POST /api/visibility/scan - Wait 30 seconds
GET /api/visibility/scan?syntheticId=...- If
scanAvailableisfalse, wait 30 seconds and try again - Once
scanAvailableistrue, fetch the full report withGET /api/visibility/report