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

**Method**: `client.GenerateModeration(...)` or `client.CreateModeration(...)`

### Example

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

var client = new AIStats(apiKey);
var response = await client.GenerateModeration(new Dictionary<string, object>
{
    ["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`
