Classify text or images across supported content-safety categories.
API ID
azure-content-safetyOverview
- Input
- Text or a supported image input.
- Output
- Structured category severities and moderation results.
- Providers
- Azure AI Services
- Latest operational check
- Healthy
- API compatibility
- OpenAI Moderations
Recommended for
- Content moderation
- Trust and safety pipelines
Supported features
- Hate
- Self-harm
- Sexual
- Violence
Make your first request
View full setupcurl --fail-with-body https://gateway.primexos.com/v1/moderations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"azure-content-safety","text":"Text to classify"}'Executing this request uses your account’s API credits.
Sample input → output
InputText or image to classify
→Output preview
- categoriesAnalysis
- Category and severity results
- usage.records
- Measured billing records
Simplified preview based on the published service response contract.