Moderates text content.
Changed onpost/api/ai/moderation
Request
- Base URLhttps://api.worqhat.com
- AuthAPI key in header x-api-key and API key in header x-org-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Example response
{
"id": "78f34ff3-08d5-4000-93f2-237ab46a3013",
"status": "success",
"timestamp": 1687729008633,
"content": {
"sexual": "5.2880e-7",
"hate": "0.0000031912",
"violence": "0.097897",
"self-harm": "0.070380",
"sexual/minors": "4.9098e-7",
"hate/threatening": "2.4003e-8",
"violence/graphic": "0.0000020674"
}
}Changes
- info
endpoint added
- info