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

# Moderación

> Llama a `/moderations` con el SDK de C#.

**Método**: `client.GenerateModeration(...)` o `client.CreateModeration(...)`

### Ejemplo

```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"
});
```

### Parámetros principales

* `model` (obligatorio): ID del modelo de moderación (por ejemplo, `openai/omni-moderation-latest`).
* `input` (obligatorio): cadena o matriz de elementos de contenido (texto o `image_url`).
* Opcional: filtros `categories`/`severity` (si son compatibles) y etiqueta `user`.

### Devuelve

`ModerationResponse`


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