How to retrieve screens viewed by a client using an API

We need to retrieve information about Screens Viewed by User during a session (Real Time as well as Historical).

Could not see an API from clientContext or clientReqSession available in gatewayContext.
Is such navigation information getting logged ?

Need more information about how to retrieve this.

This information is not logged or stored. You would need to implement it as logic inside each project.