AIAI.comAIAI.com
AI Model APIReview (Moderations)

Native OpenAI format

Check if the text content violates the usage policy

POST
/v1/moderations

Authorization

BearerAuth

AuthorizationBearer <token>

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

In: header

Request Body

application/json

input*string|
model?string

Response Body

application/json

curl -X POST "https://api.aiai.com/v1/moderations" \  -H "Content-Type: application/json" \  -d '{    "input": "string"  }'
{
  "id": "string",
  "model": "string",
  "results": [
    {
      "flagged": true,
      "categories": {},
      "category_scores": {}
    }
  ]
}