v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-135138116.8 KB
documents

Moderates a document for harmful and sensitive categories.

post/v2/documents:moderateText

Request body

modelVersion'MODEL_VERSION_UNSPECIFIED' | 'MODEL_VERSION_1' | 'MODEL_VERSION_2'

Optional. The model version to use for ModerateText.

Response

Successful response