Input
Submit amultipart/form-data request with:
Pipeline
Prompt moderation runs two sequential steps:- Blocked keyword check. The text is scanned against the configured blocklist. A match ends the pipeline before any further processing.
- LLM prohibition check. A language model reviews the prompt for policy violations. If it judges
the prompt prohibited, the job is rejected with
is_prohibited: trueand a shortreason.
Output
is_prohibited is true, reason explains why the prompt was prohibited. A prompt that
passes returns is_prohibited: false with no reason. See decision logic
for how the prohibition decision is determined.