> ## 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.

# Modération

> Appelez `/moderations` avec le SDK C#.

**Méthode** : `client.GenerateModeration(...)` ou `client.CreateModeration(...)`

### Exemple

```csharp theme={null}
using PhaseoSdk;

var client = new Phaseo(apiKey);
var response = await client.GenerateModeration(new Dictionary<string, object>
{
    ["model"] = "openai/omni-moderation-latest",
    ["input"] = "Text to classify"
});
```

### Paramètres principaux

* `model` (obligatoire) : identifiant du modèle de modération (par exemple, `openai/omni-moderation-latest`).
* `input` (obligatoire) : chaîne ou tableau d’éléments de contenu (texte ou `image_url`).
* Facultatif : filtres `categories`/`severity` (si compatibles) et balise `user`.

### Valeur renvoyée

`ModerationResponse`


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