Roasting sweet potatoes in the air fryer takes only 10 to 13 minutes.