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 | Description |
|---|---|---|
| file | Binary | Binary file upload. |
| azure_key | String | Azure key. |
| google_key | String | Google key. |
| azure_region | String | Azure region. |
| azure_endpoint | String | Azure endpoint URL. |
| azure_account_id | String | Azure account ID. |
| requested_service | ENUM | Service to use. Allowed values: azure, google, apyhub. Default: apyhub. |
| azure_access_token | String | 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 | Description |
|---|---|---|
| data | Object | Wrapper for provider-specific results. |
| data.azure | Object | Response object from Microsoft Azure Computer Vision. |
| data.apyhub | Object | Response object from ApyHub Vision detector. |
| data.google | Object | Response object from Google Cloud Vision. |



