gate

POST /gate/scan

post/gate/scan

Request body

contentstring required

The untrusted content to scan.

mode'fast' | 'thorough'
source_urlstring nullable

Optional URL the content was fetched from (provenance for the flywheel).

Response

Scan verdict

latency_msinteger required
links_truncatedboolean required
mode'fast' | 'thorough' required
sanitized_contentstring nullable
verdictstring required

One of block | warn | allow.

Changes

Changed in 2 of the 14 revisions of this API.5

    • ○

      the endpoint scheme security ApiKeyAuth was added to the API

      api-security-added

    • ○

      the endpoint scheme security api_key was removed from the API

      api-security-removed

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added