Sample JSON from the /stats API
This section includes an excerpt of the output that is produced by a call to the /stats
API, specifying a folder to which audio files have been uploaded and processed on a specified date (or the current date if the date
parameter was not specified).
Figure 1. Sample Folder Statistics Output from the /stats API
[ { "date": "20170925", "calls": 5, "avgduration": "0:09:52", "avgsilence": "0:04:12", "avgwords": 1256.6, "agent": { "avgcalls": "1.7", "talk": { "avg": "0:02:57", "min": { "id": "004", "duration": "0:00:32" }, "max": { "id": "002", "duration": "0:09:24" } }, "emotion": { "positive": 3, "worsening": 0, "negative": 2, "improving": 0 } }, "client": { "talk": { "avg": "0:02:43" }, "emotion": { "positive": 1, "worsening": 0, "negative": 3, "improving": 1 } } } ]