Last updated 4 months ago
Get findings for a specific violation
The UUID of the violation
Successful response
Next page cursor, omitted if end of results reached
const response = await fetch('https://api.nightfall.ai/dlp/v1/violations/{violationId}/findings', { method: 'GET', headers: {}, }); const data = await response.json();
{ "findings": [ { "id": "text", "detectorUUID": "text", "subDetectorUUID": "text", "confidence": "text", "redactedSensitiveText": "text", "redactedContext": { "beforeContext": "text", "afterContext": "text" }, "redactedLocation": { "byteRange": { "start": 0, "end": 0 }, "lineRange": { "start": 0, "end": 0 } }, "metadata": { "apiKeyMetaData": { "status": "UNVERIFIED", "kind": "UNSPECIFIED", "description": "text" } }, "subLocation": "text", "annotationUUID": "text" } ], "nextPageToken": "text" }