About this endpoint
What it does
Submits a text string for moderation and returns a JSON object containing a data object. When requested_service is google, the response may include a google object with the moderation result.
Request Body
| Parameter | Type | Description |
|---|---|---|
| text | String | The text to be moderated. |
| requested_service | ENUM | Service to use for moderation. Allowed value: google. |
| Object | Google-specific configuration object. | |
| google.key | String | Google API key. |
| google.google_language | String | Google language code. |
Response
Returns a JSON object with a data object field. The data object may include a google object when requested_service is google.
| Parameter | Type | Description |
|---|---|---|
| data | Object | Response payload object. May include google when requested_service is google. |
| data.google | Object | Google moderation result object. The schema does not define its inner fields. |



