Can you access the timeline data via API?

Question is fairly straightforward.

What I’m trying to do is put stuff in Excel using API and I specifically want the timeline data. It’s a good indicator of when my PC is turned on or not.

Couldn’t find anything about it and it doesn’t seem to be in with the time entries.
Due to the possible privacy concerns I could see why it might not be available but I figured I might as well ask just in case.