Forum Discussion

him_varma's avatar
him_varma
Advisor
9 months ago

Need the API calls usage metrics per user

Hi Developers,

I am looking for the restapi data set that can provide the V1 API calls usage metrics per user that is we can filter out on the basis of user id. I have referred to the documentation here: https://developer.khoros.com/khoroscommunitydevdocs/docs/api-1-metrics but was not able to find the class name and path name that can help us to get the metrics for a specific user.

For example, I am looking for something like: /restapi/vc/metrics/name/restapi.call.user/id/[User ID]/count?date_start=2021-05-01T00:01-05:00&date_end=2021-05-31T23:59-05:00&xslt=json.xsl

Any help will be much appreciated.

Thanks in advance

REST API Khoros Communities Bulk Data API  

  • Got the required data set. If any body is looking for the solution then please refer to below API call:

    /restapi/vc/users/login/[loginame]/metrics/name/restapi.call/history/daily?date_start=2024-02-01T00:01-05:00&date_end=2024-02-29T23:59-05:00&xslt=json.xsl


    Thanks

2 Replies

  • Got the required data set. If any body is looking for the solution then please refer to below API call:

    /restapi/vc/users/login/[loginame]/metrics/name/restapi.call/history/daily?date_start=2024-02-01T00:01-05:00&date_end=2024-02-29T23:59-05:00&xslt=json.xsl


    Thanks

  • BlakeH's avatar
    BlakeH
    Khoros Staff
    9 months ago

    Thank you for replying to your own thread to let others know you found the solution, and what the solution was! I appreciate it.