Classifies one or more text inputs for harmful content. Schema-compatible with the OpenAI Moderations API — works with the OpenAI SDK.
The response includes standard OpenAI moderation categories as well as AILuminate safety classifications for more granular signals.
Authorizations
Authorizationstringrequired
Your authentication credentials. Pass your API key as a Bearer token: Bearer $INWORLD_API_KEY. You can create a key in one command with the Inworld CLI: inworld workspace add-key.
Body
application/json
inputoneOfrequired
A single string or an array of strings to classify for harmful content.