Skip to main content
POST
/
files
/
{fileId}
/
risk-score
/
confirm
Confirm or override file risk score
curl --request POST \
  --url https://api.uk.veridox.ai/files/{fileId}/risk-score/confirm \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "risk_score": "<string>",
  "confirmation_reason": "<string>"
}
'
{}
Allow users to confirm the current AI-generated risk score or override it with a new value. This endpoint allows for human-in-the-loop validation of automated findings. An optional confirmation reason can be provided to document the decision.

Best Practices

  1. Document Decisions: Always provide a confirmation_reason when overriding AI assessments to maintain a clear audit trail.
  2. Review Full Analysis: Always examine the detailed findings from the Get File Analysis endpoint before confirming or changing a score.
  3. Wait for Completion: Risk scores can only be confirmed once the file analysis has successfully reached the settled status.

Authorizations

x-api-key
string
header
required

Path Parameters

fileId
string
required

File ID

Body

application/json
risk_score
string
required
confirmation_reason
string
Maximum string length: 1000

Response

Risk score confirmation created successfully

The response is of type object.