Fetch ASR Properties for a Language
Returns ASR properties for the given language.
Endpoint
Method: GET
URL: https://uselfserve-<tenant-name>.uniphore.com/cse/connector/asrProperty/{language}
curl -X GET "http://localhost:9902/connector/asrProperty/English-US" -H "accept: application/json" -H "Authorization: Bearer <token>"
Header Parameter
Authorization - Bearer <Token>
Path Parameter
Path Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
language | String | Language for which ASR properties need to be fetched. | Required |
Example Response
{ "English-US": { "contextAsrBufferSize": 8160, "contextAsrConsiderOnlyFinal": true, "contextAsrFailThreshold": 0, "contextAsrPassThreshold": 0, "contextAsrUrl": "wss://hostname:port", "contextAsrWordPassPercentage": 0, "contextAsrWorldLevelThreshold": 0.5, "url": "wss://hostname:port", "contenderUrl": "wss://hostname:port/en-us/", "considerOnlyFinal": true, "bufferSize": 8160, "failThreshold": 0, "passThreshold": 0, "wordPassPercentage": 0, "worldLevelThreshold": 0 } }
Response and Error Codes
Response Code | Condition |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
500 | Internal Sample Error |
Note
With the error codes, a summary containing the reason for failure is provided.