How i can get user data based on user id same as this dashboard using Matomo API?

Hi Guys

How i can get the same data as in this screenshot from the dashboard via the matomo API for specific user-id

I have enabled the user id but am unable to track the API parameters to get exact data in the API call as this dashboard is there any parameters that I can set to track user, what I need to list the specific user visit history (URLs)

Any help is appreciated regarding this endpoint, as I tried different things from the API doc but had no luck

Hi @Muhammad_Asif
You can use a segment to “filter” visits on one single user ID…