how to know that smart api is working or not