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

# Moderation

> Rufe `/moderations` mit dem Python-SDK auf.

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

### Beispiel

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

### Wichtige Parameter

* `model` (erforderlich): ID des Moderationmodells (z. B. `openai/omni-moderation-latest`).
* `input` (erforderlich): Zeichenfolge oder Array mit Inhaltselementen (Text oder `image_url`).
* Optional: `categories`-/`severity`-Filter (falls unterstützt) und `user`-Kennzeichnung.

### Rückgabe

`ModerationResponse`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.