Upper Endoscopy Upper endoscopy lets your doctor examine the lining of the upper part of your gastrointestinal tract, which includes the esophagus, stomach and duodenum (first portion of the small intestine).