API endpoint now properly setting the refresh interval to the saved value in host.