About this endpoint
What it does
Uploads a video file and runs object detection using either Azure or Google, based on the requested_service value. The response returns a JSON object whose data field contains the provider-specific result object for the service you selected.
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | Video file to analyze. Binary upload. |
| azure_region | String | Azure region. Example: trial. |
| azure_account_id | String | Azure account ID. |
| requested_service | ENUM | Detection provider to use. Allowed values: azure, google. Example: azure. |
| azure_access_token | String | Azure access token. |
| google_credential_file | Binary | Google service account JSON file. Binary upload. Used for Google routes. |
Response
Returns a JSON object with a required data object field. The data object may contain an azure object when requested_service is azure, or a google object when requested_service is google; both provider objects are open-ended and may include additional properties.
| Parameter | Type | Description |
|---|---|---|
| data | Object | Response wrapper object. Contains provider-specific result data. |
| data.azure | Object | Present when requested_service is azure. Open-ended object with additional properties. |
| data.google | Object | Present when requested_service is google. Open-ended object with additional properties. |



