How to export phone usage time data to json/csv/sql/txt raw form?
There are some apps in the play store that let you see more.

App Usage - Manage/Track Usage This app lets you export the data.
Action Dash This has a great amount of data that is being analyzed in the app. (This makes me think that the data is stored somewhere).

Take a look at the folders and files in &quot;/data/data/com.google.android.apps.wellbeing&quot; you may find something useful files there. There are some files there that look promising. You will need to be rooted to access this folder.