DLP APIs - Firewall for AI Platform
The request body of the /v3/scan endpoint
A list of UUIDs referring to policies to use to scan the request payload. Policies can be built in the Nightfall Dashboard. Maximum 1.
The text sample(s) you wish to scan. This data is passed as a string list, so you may choose to segment your text into multiple items for better granularity. The aggregate size of your text (summed across all items in the list) must not exceed 500 KB for any individual request, and the number of items in that list may not exceed 50,000.
Success
Invalid request payload
Authentication failure
Unprocessable request payload
Rate Limit Exceeded or Monthly Quota Exceeded
Internal Nightfall Error
the number of bytes representing the size of the file to-be-uploaded.
Success
Invalid request payload
Authentication failure
Rate Limit Exceeded or Monthly Quota Exceeded
Internal Nightfall Error
a file ID returned from a previous file creation request
The numeric offset at which the bytes contained in the body should be written. This offset must be a multiple of the chunk size returned when the file upload was created.
The payload bytes to upload; the size of the request body must exactly match the chunkSize that was returned when the file upload was created.
Success
Invalid request payload
Authentication failure
Invalid File ID
Rate Limit Exceeded or Monthly Quota Exceeded
Internal Nightfall Error
No content
a file ID returned from a previous file creation request
Success
Invalid request payload
Authentication failure
Invalid File ID
File Upload in Incorrect State
Rate Limit Exceeded or Monthly Quota Exceeded
Internal Nightfall Error
a file ID returned from a previous file creation request
the UUID of the Detection Policy to be used with this scan. Exactly one of this field or "policy" should be provided.
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.
Success
Invalid request payload
Authentication failure
Invalid File ID
Incorrect File State
Unprocessable request payload
Rate Limit Exceeded or Monthly Quota Exceeded
Internal Nightfall Error
Last updated
Was this helpful?