LoupePolicy
When a document is sent for review. Leave it out for our default. A probability at or above fail is FAILED, at or above flag is FLAG; below auto it is AUTO_APPROVE when auto_approve is true, and APPROVE otherwise. The thresholds are between 0 and 1 and rise from auto to flag to fail.
Fields
namerequired Type:stringversionrequired Type:integerfailrequired Type:numberflagrequired Type:numberautorequired Type:numberauto_approverequired Type:booleanweightsoptional Type:objectHow much each kind of finding counts, by the
detectorfindings name; 1 unless given.disabledoptional Type:string[]Kinds of finding not to look for, by
detector.loupe_versionoptional Type:stringThe Loupe version checks under this policy run, such as
1.5.6. Left out, they run your organisation's version.
{
"name": "lenient",
"version": 1,
"fail": 0.95,
"flag": 0.6,
"auto": 0.15,
"auto_approve": true,
"weights": {},
"disabled": []
} Where you'll see it
- Sent to POST
/loupe/policiesSave a policy - A field of
LoupeSavedPolicy.policy - A field of
LoupeDropManifest.policy - A field of
LoupeCheck.policy