Diagnosis typically begins with a detailed medical history and physical examination. If OSA is suspected, a sleep study or polysomnography is often recommended. This overnight test measures various physiological parameters during sleep, including breathing patterns, oxygen levels, and brain activity.