Skip to content

Update AI False Positive Detection results

POST
/api/v4/vulnerabilities/{vulnerability_id}/flags/ai_detection

Updates the confidence score and explanation for AI-based False Positive Detection flows.

vulnerability_id
required
string

The ID of a vulnerability

Media type application/json
object
confidence_score
required

Confidence score from 0-100

integer
<= 100
description
required

Explanation for the detection result

string
nullable
origin

Origin of the AI detection

string
nullable /^(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\n\uD800-\uDFFF]){1,255}$/
Example generated
{
"confidence_score": 1,
"description": "example",
"origin": "example"
}

OK

Bad Request

Unauthorized

Forbidden

Not Found