Your first $5 becomes $15Get started
POST/v1/moderations

Classify whether text violates content policy

Authentication

Send your virtual key as Authorization: Bearer sk-nemo-…. One key works across every model and modality.

Request bodyapplication/json

FieldTypeRequired
modelstringoptional
inputstringrequired

Response200

{
  "id": "modr-abc123",
  "model": "omni-moderation-latest",
  "results": [
    {
      "flagged": false,
      "categories": {
        "violence": false
      },
      "category_scores": {
        "violence": 0.001
      }
    }
  ]
}

Errors

StatusMeaning
400400 — Guardrail blocked the request
402402 — Not enough credits
429429 — one of: rate_limit_exceeded (RPM limit exceeded); tpm_limit_exceeded (TPM limit exceeded)
503503 — Credit system unavailable