moderations
Moderations
The moderations endpoint is a tool you can use to check whether content complies with an LLM Providers policies. Quick Start
curl --location 'http://0.0.0.0:4000/moderations' --header 'Content-Type: application/json' --header "Authorization: Bearer $LITELLM_MASTER_KEY" --data '{"input": "Sample text goes here", "model": "text-moderation-stable"}'
post/moderations
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/moderations
- Auth: API key in header x-litellm-api-key
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.