OpenAI Moderations API

The Moderations API can be used to check whether text or images are potentially harmful. It classifies content across several categories including harassment, hate speech, sexual content, self-harm, violence, and illicit content. The moderation endpoint is free to use and supports the omni-moderation-latest model for multi-modal inputs.

API entry from apis.yml

apis.yml Raw ↑
aid: openai:openai-moderations-api
name: OpenAI Moderations API
tags:
- Content Safety
- Moderation
score: 100
baseURL: https://api.openai.com
humanURL: https://platform.openai.com/docs/api-reference/moderations
properties:
- url: https://platform.openai.com/docs/api-reference/moderations
  type: Documentation
- url: https://platform.openai.com/docs/guides/moderation
  type: Documentation
description: The Moderations API can be used to check whether text or images are potentially harmful.
  It classifies content across several categories including harassment, hate speech, sexual content, self-harm,
  violence, and illicit content. The moderation endpoint is free to use and supports the omni-moderation-latest
  model for multi-modal inputs.