moderations
moderationsRead-only
OpenAI-compatible moderation (Llama Guard 3): same response shape as OpenAI /v1/moderations with flagged, categories and category_scores, plus the raw Llama Guard codes. Up to 10 inputs per call. Costs $0.002 USDC per call (x402).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to check (POST also accepts an array of up to 10) | |
| model | No | Ignored |