API integration to admin functions

I trying to figure out if there is an API to access admin functionality of the hubitat hub ? Not just devices like that Maker API provides but access to like the logs, status of the hub, etc itself. I see in the custom app developement you can access the hub id a few items. but dont see anything (like logs or status of hub) I want to create a interface for monitoring the status of multiple hubs to know if there are any system issues(access logging), obtain the os version, status of any radios, maybe even do system updates.,etc.

Is something like this possible ?

The hub information driver is probably the most comprehensive option:

1 Like

Not an API, but check out [RELEASE] Hub Information Driver v3

1 Like

A list of the endpoints I’ve used at one point or another are at https://raw.githubusercontent.com/thebearmay/hubitat/refs/heads/main/libraries/endpoints.txt

If you want live logs you’ll need to use something like (only available for drivers):

interfaces.webSocket.connect("http://localhost:8080/logsocket")

For multiple hub firmware updates:

I have a few other relavent projects if you need something that isn’t in the above.

4 Likes

@dandiodati You can output logs to a syslog server.

Also lots of endpoints to control.