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

# मॉडरेशन

> Python SDK से `/moderations` कॉल करें।

**मेथड**: `client.generate_moderation()`.

### उदाहरण

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

### मुख्य पैरामीटर

* `model` (ज़रूरी): मॉडरेशन मॉडल ID (जैसे `openai/omni-moderation-latest`)।
* `input` (ज़रूरी): टेक्स्ट या `image_url` जैसे कंटेंट आइटम की स्ट्रिंग या ऐरे।
* वैकल्पिक: `categories`/`severity` फ़िल्टर (समर्थित होने पर) और `user` टैग।

### रिटर्न

`ModerationResponse`


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