Error
Rules
Create a rule
Rules apply to every document analysed after they are created.
POST
Error
Authorizations
Paste your workspace API key from Settings. Sent as Authorization: Bearer .
Body
Maximum string length:
255ACCEPTED- ACCEPTEDREJECTED- REJECTEDPENDING- PENDINGADVISORY- ADVISORY
Available options:
ACCEPTED, REJECTED, PENDING, ADVISORY Required range:
-100 <= x <= 100Maximum string length:
128Maximum string length:
128Maximum string length:
128active- activedisabled- disabled
Available options:
active, disabled Response
The created rule.
Prefixed id, e.g. rule_9f2c….
active- activedisabled- disabled
Available options:
active, disabled ACCEPTED- ACCEPTEDREJECTED- REJECTEDPENDING- PENDINGADVISORY- ADVISORY
Available options:
ACCEPTED, REJECTED, PENDING, ADVISORY Added to risk_score when the rule triggers.