An X-ray of the lumbar spine in the AP (anterior-posterior) view is usually done to evaluate the bones, joints, and overall alignment of the lower back area. It is used to diagnose various medical conditions that may be affecting the spine, such as fractures, osteoporosis, degenerative disc disease, scoliosis, and spinal tumors.