A Biliary Endoscopy enables physicians to diagnose problems in the liver, gallbladder, bile ducts and pancreas. The liver is a large organ that, among other things, makes a liquid called bile that helps with digestion. The gallbladder is a small, pear-shaped organ that stores bile until it is needed for digestion.