Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://utoken.yoostudio.ai/v1/moderations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "input": "<string>", "model": "<string>" } '
{ "id": "<string>", "model": "<string>", "results": [ { "flagged": true, "categories": {}, "category_scores": {} } ] }
检查文本内容是否违反使用政策
Use Bearer Token authentication Format: Authorization: Bearer sk-xxxxxx
"text-moderation-latest"
Success - Content Moderation
Show child attributes
Was this page helpful?