Generally, endoscopic procedures are carried out under conscious sedation with local anaesthesia and medications. However, some endoscopic procedures may be performed under general anaesthesia which puts you to sleep.