> ## Documentation Index
> Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Sleep Order Object

## Working with sleep orders via the API

**Signing a sleep order through the API requires the practice to have API document signing enabled.** See [Errors](/articles/rest/overview/errors#api-document-signing) for the exact error and how to request it.

## Field notes

* `resolution.state` drives closing the loop in the chart.
