Only save APIRequest if it exists.