> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Moderations

> Call /moderations with the Python SDK.

**Method**: `client.generate_moderation()`.

### Example

```python theme={null}
moderation = client.generate_moderation({
    "model": "openai/omni-moderation-latest",
    "input": "Text to classify",
})
```

### Key parameters

* `model` (required): Moderation model id (e.g., `openai/omni-moderation-latest`).
* `input` (required): String or array of content items (text or image\_url).
* Optional: `categories`/`severity` filters (when supported), `user` tag.

### Returns

`ModerationResponse`
