guardrail_plan, in the dashboard (Security & Compliance) or through the API (assistants, workflows).
Example
Checks
Actions
Each check takes anaction:
escalation takes a stronger action after after_violations violations in one call (default 3).
Speed or certainty
Checks that use a model add a little delay.strictness decides which checks run before the agent replies (inline) and which run alongside it (background):
A background check can’t stop the reply that’s already being spoken; it corrects the conversation from the next turn. Override a single section with its
execution field.
Try before you enforce
Set"mode": "monitor" to record violations without acting on them. Review them in call logs, then switch to "enforce".
Workflows
In a workflow,guardrail_plan on the workflow applies to every node. A node can add its own guardrail_plan; set "replace": true on it to replace the workflow’s lists instead of adding to them.
