About this endpoint
What it does
Submits a URL for explicit-content detection and returns a JSON object containing provider-specific result data. The request body includes the media url and a requested_service value that selects either azure or google.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The media URL to analyze. Must be a URI. |
| azure | Object | No | Azure credentials/settings used when requested_service is azure. Contains the optional fields region, account_id, and access_token. |
| azure.region | String | No | Azure region. |
| azure.account_id | String | No | Azure account ID. |
| azure.access_token | String | No | Azure access token. |
| Object | No | Google credentials/settings used when requested_service is google. Contains the optional field google_language and the nested google_credential_json object. | |
| google.google_language | String | No | Google language code. |
| google.google_credential_json | Object | No | Google Cloud service account JSON. Required for Google video routes. See schema for nested fields. |
| requested_service | ENUM | Yes | Provider to use for detection. Allowed values: azure, google. |
Response
Returns a JSON object with a data object field. The data object contains provider-specific result data in either data.azure or data.google, depending on the requested service.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Wrapper object for the detection result. |
| data.azure | Object | No | Present when requested_service is azure. |
| data.google | Object | No | Present when requested_service is google. |