About this endpoint
What it does
Detects the language of an audio file from a publicly accessible URL and returns the detection result in a JSON object.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Publicly accessible URL of the audio file. Must be a URI. |
Response
Returns a JSON object with a data object field. Inside data, there is an azure object containing the detection result.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Wrapper object for the response payload. |
| data.azure | Object | No | Azure detection result object. |
| data.azure.language | String | No | Detected language locale code. |
| data.azure.confidence | Number | No | Detection confidence level, from 0.0 to 1.0. |