Setting Up Guardrails
Setting Up Guardrails
Learn how to create and configure guardrails to protect your AI applications.
Quick Start
Via Dashboard
- Guardrails → Create Guardrail
- Select rule type (e.g., “Block PII”)
- Configure parameters
- Set severity
- Test with sample input
- Click Save
Via API
Common Guardrail Types
- block_pii - Block personally identifiable information
- block_toxic_content - Block abusive language
- rate_limit - Limit requests per user
- enforce_classification - Require data tags
- jailbreak_detection - Detect jailbreak attempts
- agent_tool_control - Control agent tool access
Testing Guardrails
Test before deploying:
Best Practices
- Test thoroughly before production
- Start with broad rules, then refine
- Monitor violation rates
- Adjust thresholds based on feedback
- Document rule purposes
Next Steps
- Creating Policies - Bundle guardrails into policies
- Running Scans - Scan your repositories
- API Reference - Guardrail APIs