The ketogenic diet (or keto diet) is often presented as a miracle solution for weight loss and improving metabolic health.