内容审核¶
本节列出该能力下当前已实现的接口。
内容审核¶
POST /v1/moderations
检查文本内容是否违反使用政策
鉴权¶
- Bearer Token (
Authorization: Bearer <token>)
请求体¶
- Content-Type:
application/json - Schema:
ModerationRequest
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| input | - | yes | - |
| model | string | no | - |
返回¶
| 状态码 | 说明 | Schema |
|---|---|---|
| 200 | 成功审核 | ModerationResponse |