testing decision with API call --KW