A gastroscopy is a procedure used to inspect the upper digestive tract including the oesophagus, stomach and the first part of the small bowel. A thin flexible camera called a gastroscope is used to inspect these areas. It is usually done as a day procedure in an endoscopy centre or a hospital.