Hi Onur,
There is no specific command or query which you can run on the CTS endpoint to see the downtime.
The only thing you can do is to pull the TS Suicide logs on the CTS Endpoint which shows the time when CTS Endpoint went for the power off. Then you see the uptime and calculate accordingly.
Thanks,
Saurabh