Use one of the accepted identifiers below for the selected endpoint.
mistral/mistral-moderation-2Create a key inDashboardAPI Keys, then set it as AI_STATS_API_KEY in your environment variables.
Streaming isn't available for this endpoint.
# 1) Set your key
export AI_STATS_API_KEY="aistats_***"
# 2) Send a request
curl -s https://api.phaseo.app/v1/moderations \
-H "Authorization: Bearer $AI_STATS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral/mistral-moderation-2",
"input": "Check this prompt for safety before routing downstream."
}'