We have developed a watson assistant chatbot and integrated with client application. Now we want know how many times each user calling watson service from client application and its billing details per person.
We tried using watson settings(passing user id and customer id as parameter ) but we are not getting the per user details , we only got total user count details.
Please let me know how we can achieve this from application side or any other alternative approaches.
Code:
version_date: '2018-02-16',
version: 'v1',
context : {
metadata : {
"user_id": "{1234}"
}
},
headers: {'X-Watson-Metadata':'customer_id=user777;customer_id=xyz'}
});