Skip to main content
Chat moderation evaluates a single chat turn against the language-model prohibition check only. The keyword blocklist is not applied, so conversational text isn’t rejected for incidental mentions of flagged terms. A turn the model judges prohibited is rejected, and the reason is returned on the completed job. Use chat moderation when you want policy-grade protection on free-form chat without false positives from a static term list. For pre-generation prompt screening that includes the blocklist, use prompt moderation instead.

Input

Submit a multipart/form-data request with:

Pipeline

Chat moderation runs a single step:
  1. LLM prohibition check. A language model reviews the chat turn for policy violations. If it judges the turn prohibited, the job is rejected with is_prohibited: true and a short reason.
Unlike prompt moderation, the keyword blocklist scan is skipped entirely — chat moderation never short-circuits on an exact-match term.

Output

When is_prohibited is true, reason explains why the chat turn was prohibited. A turn that passes returns is_prohibited: false with no reason. See decision logic for how the prohibition decision is determined.