Guardrails API Documentation
Guardrails Policy
Guardrails Policy is a powerful tool for managing and implementing content detection and filtering policies. Here’s what we offer:
Policy Management
-
Add Policy
- Create new policies with custom configurations.
- Specify policy name, description, and detectors.
-
Get Policy
- Retrieve existing policies by name.
- Option to refresh the cache if current data is outdated.
-
Modify Policy
- Modify existing policies.
- Update name, description, and detector configurations.
-
Delete Policy
- Remove policies that are no longer needed.
Policy Usage
- Detect Using Policy
- Apply a specific policy to detect and filter content.
- Utilize custom configurations for various use cases.