Developer portal
POST /tenant/scans/batch
Start live baseline scans for multiple authorized domains.
POST /tenant/scans/batchAuth: operator | admin
Summary
Start live baseline scans for multiple authorized domains.
Example
Response
{
"status": "success",
"count": 2,
"scans": [
{
"scanId": "scan-abc",
"target": "qtangl.com",
"status": "running"
}
]
}Try it live
Paste your tenant API key to call the live API with your credentials. Leave blank to use the public sandbox key when configured, or click “Show example response” for the static fixture below.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| domains | string[] | No | Subset to scan; defaults to full allowlist. |
| industry | string | No | Industry for peer comparison. |
| depth | string | No (standard) | Scan depth. |
| createSchedules | boolean | No | Also create monitor schedules. |
| scheduleCadenceHours | number | No | Cadence when createSchedules is true. |
Errors
| Code | Meaning | Typical cause | Suggested fix |
|---|---|---|---|
| 401 | Unauthorized | Missing or invalid API key in Authorization, x-api-key, or query param. | Send Bearer <key> or x-api-key with a valid tenant token. |
| 403 | Forbidden | Valid key but insufficient role (viewer attempting write) or wrong admin key. | Use operator or admin role key; check RBAC matrix. |
| 404 | Not found | Scan, schedule, share link, or resource id does not exist or expired. | Verify id and tenant scope; share links expire per expiresHours. |
| 422 | Unprocessable entity | Invalid payload shape, unsupported scenario, or infeasible constraints. | Fix field errors in response detail; relax constraints and retry. |
| 429 | Too many requests | Per-key rate limit exceeded (default 300 requests per minute) or public endpoint limit. | Backoff with jitter; cache results; request higher limit for production. |
| 500 | Internal server error | Unexpected backend failure; includes requestId in response. | Retry with exponential backoff; contact support with requestId if persistent. |
| 503 | Service unavailable | Persistence disabled, auth DB unreachable, or admin API not configured. | Retry shortly; schedules require Postgres persistence enabled. |
See the full errors reference.
Found an issue? Report documentation feedback