The measurement of hypocretin 1 levels is typically done through a cerebrospinal fluid (CSF) sample. This procedure involves performing a lumbar puncture, also known as a spinal tap, to collect CSF from the lower back. The sample is then analyzed in a laboratory to determine the concentration of hypocretin 1.