Take the real `max_attempts` from the API