A bile acid test is a quantitative measurement of the levels of total bile salts or individual bile salts in the blood serum. These salts are produced in the liver and excreted in bile to aid in the digestion and absorption of fats. Elevated blood levels of bile acids indicate impaired excretion or reabsorption, suggesting liver or bile duct disease.