审核
创建审核
Identify potentially harmful content in text and images. **Only** works with [OpenAI's Moderations endpoint](https://platform.openai.com/docs/guides/moderation) currently.
post
Authorizations
x-portkey-api-keystringRequired
x-portkey-virtual-keystringRequired
Body
inputone ofRequired
The input text to classify
stringOptionalDefault:
""Example: I want to kill them.string[]OptionalExample:
I want to kill them.modelany ofOptionalDefault:
Two content moderations models are available: text-moderation-stable and text-moderation-latest.
The default is text-moderation-latest which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use text-moderation-stable, we will provide advanced notice before updating the model. Accuracy of text-moderation-stable may be slightly lower than for text-moderation-latest.
text-moderation-latestExample: text-moderation-stablestringOptional
string · enumOptionalPossible values:
Responses
200
OK
application/json
post
/moderations200
OK
Last updated