Detects HA api calls

Hi,

is there any way to notify/detect/count the home assistant api calls?

I want to audit the connections using the system itself.

Thanks