About this endpoint
What it does
Uploads a file to detect explicit or sensitive content and returns provider-specific result objects in a data wrapper. The request can target Azure, Google, or ApyHub via requested_service; if omitted, the default is apyhub.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary file upload. |
| azure_key | String | Yes (if azure is selected in requested_service) | Azure key. |
| google_key | String | Yes (if google is selected in requested_service) | Google key. |
| azure_region | String | No | Azure region. |
| azure_endpoint | String | Yes (if azure is selected in requested_service) | Azure endpoint URL. |
| azure_account_id | String | Yes (if azure is selected in requested_service) | Azure account ID. |
| requested_service | ENUM | No | Service to use. Allowed values: azure, google, apyhub. Default: apyhub. |
| azure_access_token | String | No | Azure access token. |
Response
Returns a JSON object with a data object field. Inside data, the schema defines optional provider result objects for azure, apyhub, and google.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Wrapper for provider-specific results. |
| data.azure | Object | No | Response object from Microsoft Azure Computer Vision. |
| data.apyhub | Object | No | Response object from ApyHub Vision detector. |
| data.google | Object | No | Response object from Google Cloud Vision. |