Scan Uploaded File
Scan Uploaded File
Triggers a scan of the file identified by the provided fileID. As the underlying file might be arbitrarily large, this scan is conducted asynchronously. Results from the scan are delivered to the webhook URL provided in the request payload.
POSThttps://api.nightfall.ai/v3/upload/{fileId}/scan
Authorization
Path parameters
fileId*string (uuid)
a file ID returned from a previous file creation request
Body
policyUUIDstring (uuid)
the UUID of the Detection Policy to be used with this scan. Exactly one of this field or "policy" should be provided.
policyPolicyV3 (object)
requestMetadatastring
A string containing arbitrary metadata. Callers may opt to use this to help identify their input file upon receiving a webhook response. Maximum length 10 KB.
Response
Success
Headers
Body
idstring (uuid)
a UUID to uniquely identify a particular file upload
messagestring
message indicating that file scanning has been initiated
Request
Response
Last updated