Why do you pass in API_KEY, which is not an account ID, but in get_descendants/1, you call the variable AccountId? Which are you passing in?