API
Moderations
Classify user input for safety and policy review before routing or publishing.
Overview
Moderation endpoints help classify text or multimodal input for safety categories. Use them as one layer of defense; do not rely on them as the only control.
Request
`POST https://uouo.cloud/v1/moderations`
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Moderation model ID. |
| input | string or array | Yes | Content to classify. |
Example
curl https://uouo.cloud/v1/moderations \
-H "Authorization: Bearer $UOUODUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "omni-moderation-latest",
"input": "User-provided content to review"
}'Notes
- Keep your own policy enforcement logic in application code.
- Review edge cases manually when the result is ambiguous.
- Provider categories and scores can change over time.