# Review Moderation API Tool

**Use case:** 

Check product reviews for offensive or unsafe content and return moderation scores as JSON before publishing them.

## Input

```json
{
  "texts": [
    "This blender broke after two uses and support never replied to me."
  ],
  "threshold": 0.5
}
```

## Output

```json
{
  "text": {
    "label": "Text",
    "format": "string"
  },
  "safe": {
    "label": "Safe",
    "format": "boolean"
  },
  "overallToxicity": {
    "label": "Overall toxicity",
    "format": "number"
  },
  "flagged": {
    "label": "Flagged",
    "format": "array"
  },
  "categories": {
    "label": "Category scores",
    "format": "object"
  },
  "reason": {
    "label": "Reason",
    "format": "string"
  },
  "observedAt": {
    "label": "Scored at",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Content Moderation & Toxicity Scorer](https://apify.com/scrapers_lat/content-moderation-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/content-moderation-tool) to learn more, explore other use cases, and run it yourself.