Scan a file
Uploads one file and synchronously runs content-type and malware analysis.
Only the first multipart part named file with a filename is
scanned; other parts are ignored. Free accounts accept files up to
50 MiB; Grow and Scale accounts accept files up to 250 MiB.
Authentication
X-API-Keystring
API key in the mak.<lookup-id>.<secret> format.
Request
This endpoint expects a multipart form containing a file.
file
File content to scan. The part must include a filename.
Response headers
Location
Relative URL of the stored scan.
Response
The scan completed and was stored.
id
Server-generated scan identifier.
created_at
status
verdict
filename
Filename supplied by the multipart upload.
sha256
size_bytes
duration_ms
failure
Failure information, or null when the scan completed.
detections
Detection names reported for the file. Empty when no threats were detected.
type_analysis
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error

