How to get type of message as "FAQ" or "Knowledge Graph Task" from the conversation history API?

I am trying to get most frequently asked FAQs from the bot
These FAQs are in the KG of the bot.
I want to get the statistics about which questions were asked most frequently by a user.
Not able to get the type of the message in the conversation history API.
Is there a better approach for this?