Skip to main content
The co-mind.ai Security Sanitizer provides configurable content safety policies that protect against prompt injection, jailbreak attempts, and PII leakage. It sits inline with all AI requests and can be configured per-tenant.
Sanitizer admin endpoints require Admin role and the sanitizer:read / sanitizer:write scopes for PAT access.

Endpoints

Check Sanitizer Health

Get Current Policies

Retrieve the active security policy configuration:

Update Policies

Configure which safety checks are enabled and their sensitivity levels:

Test the Sanitizer

Test how the sanitizer processes specific text without affecting production traffic:
The response will show which policies were triggered and what the sanitized output looks like.

Policy Types

Detects attempts to manipulate the AI through prompt injection — inputs that try to override system instructions or extract internal information.Sensitivity levels: low, medium, high
Identifies jailbreak attempts — inputs designed to bypass the model’s safety guidelines and content policies.Sensitivity levels: low, medium, high
Automatically detects and redacts personally identifiable information from inputs and outputs.Supported types: email addresses, phone numbers, SSNs, credit card numbers, and more.
Policy changes take effect immediately for all new requests in the tenant. Test changes thoroughly using the test endpoint before applying to production policies.