Create a Policy
Step-by-step guide to creating your first governance policy.
Via dashboard
1
Navigate to Dashboard → Policies → New Policy.
2
Name your policy and optionally add a description.
3
Select the pillars to enable and set per-pillar thresholds.
4
Choose the enforcement action for each pillar violation.
5
Set the evaluation mode (inline or background).
6
Save and deploy. The policy takes effect immediately.
Via API
POST /api/v1/policies
Authorization: Bearer vx_live_...
Content-Type: application/json
{
"name": "hipaa-strict",
"pillars": {
"compliance": { "weight": 0.5, "threshold": 0.6, "action": "block" },
"safety": { "weight": 0.3, "threshold": 0.4, "action": "block" },
"hallucination": { "weight": 0.2, "threshold": 0.5, "action": "disclaimer" }
},
"mode": "inline"
}Was this page helpful?