Integration guide
Safety & Prompt Moderation with Custom Policies
Enterprise text and prompt safety filtering, custom keyword blocking, and policy guardrails.
4 min read
•Updated October 21, 2026Commercial-Grade Safety Classifier
POST /v1/moderations classifies text inputs and generation prompts. The response includes classification metadata and supports custom policy rules.
Zero-Tolerance Safety Policies
Moderation applies configured safety policies and deterministic checks. Inspect results[].flagged and classification metadata, and test your own representative inputs; no classifier guarantees zero false positives or negatives.
Custom Keyword Rules & SHA-256 Caching
custom_blocked_words, custom_regex_patterns and custom_instructions add application rules. Repeated requests may use cached classifications; cache latency is not a guaranteed SLA.
