Listen
Note this method accepts callbacks from V-Cloud.
POST /live/listen
{
"confidence": 0.89,
"donedate": "2019-09-09 15:24:31.532134",
"emotion": "Positive"
...
}
Query parameters
idstringOptional
The id of the call session
statusstringOptional
The status of the operation
programstringOptional
The name of the program to use
outputstringOptional
The output of the transcription results
Body
anyOptional
Responses
200
If incoming json is processed successfully
Responsestring
404
If unable to accept incoming json
500
Internal server error
post
POST /live/listen HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
text
This endpoint is used for accepting incoming rea-time audio streams.
Sample Response
{
"source": "file",
"utterance": {
"donedate": "2023-04-12 19:41:27.328595",
"text": "Well, we did send out a letter to all our clients notifying of this increase. It was a management decision.",
"recvtz": [
"UTC",
0
],
"confidence": 0.85,
"end": 80.33,
"start": 71.81,
"recvdate": "2023-04-12 19:41:26.141208",
"metadata": {
"source": "file",
"model": "eng-us:callcenter",
"uttid": 7,
"channel": 1
}
}
}
Last updated