add get_status function to get API server status