---
title: "Create moderation"
method: POST
path: "/v1/moderations"
tags: ["System"]
---

# Create moderation

`POST /v1/moderations`

## Request

- Base URL: `https://api.neosantara.xyz`
- URL: `https://api.neosantara.xyz/v1/moderations`
- Auth: HTTP bearer

Classify if text is potentially harmful.

## Request body

- object
  - `input` union, required
    - string
    - string[]
  - `model` string

## Response `200`

Successful moderation

---

[API](https://skmtc.dev/neosantara/apis/neosantara-ai-api.md) - [All operations](https://skmtc.dev/neosantara/apis/neosantara-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neosantara/apis/neosantara-ai-api/revisions/f87af696a63e?raw)
