/scans/bulkAdds, skips or deletes up to 100 scans at once (“Add all matched”). Each scan answers on its own: one failing doesn’t stop the rest.
collector.bulkScans()scans:writecollection:writeIdempotency-KeyX-Request-Idobject
actionenumrequiredaddskipdeleteidsarray of string (uuid)required1–100 items
200OKOne result per scan, in order.
object
resultsarray of objectrequiredidstring (uuid)requiredokbooleanrequireditemIdstring (uuid)The copy, for an added scan.
errorstringWhy this one failed (the error code).
invalid_requestinvalid_jsoninvalid_idempotency_key
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
unauthorized: Not signed in (no session or token, or an expired one).
idempotency_in_progress: The first request with this key is still running.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blockedquota_exceeded
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
quota_exceeded: Over this operation’s daily quota (the "bulk" bucket).
internal: Something went wrong on our side (quote the requestId).