Overview

Integrate ModerAItor with your existing system or call directly using the generated endpoint
The page outline diffrent methods and documentation for the endpoint

Continuously generated fromstrooplabs/moderaitor
POST
/{orgId}/{projectId}/request
$ curl -X POST https://stroop.dev/$orgId/$projectId/request \
  -H "Content-Type: application/json" \
  -d '{
    "content": "somestring value here",
    "metadata": {
      "key": "value"
    }
  }'
Response
{
  "flagged": true,
  "reason": "Use of profane word '<word>'",
  "categories": [{ "name": "profanity", "score": -1 }]
}