v1

latestOpenAPI 3.1.02026-07-13350232.8 KB
Guard

Create guard rule

Create a new email filtering guard rule.

post/api/e2/guard

Request body

namestring required

Rule name

descriptionstring

Rule description

type'explicit' | 'ai_prompt' required
{"stackTrail":"paths:/api/e2/guard:post:requestBody:content:application/json:schema:properties:config","oasType":"schema","type":"unknown","description":"Rule configuration (JSON)"}
prioritynumber

Rule priority (higher = evaluated first)

{"stackTrail":"paths:/api/e2/guard:post:requestBody:content:application/json:schema:properties:action","oasType":"schema","type":"unknown","description":"Rule action configuration"}

Response

Response for status 201

successtrue required