Docs

Sleep configuration

Get your sleep configuration

Returns your own sleep configuration: whether you are away and when you come back (`away`, with the bed you return to) and your temperature units (use them when you talk temperatures).

GET
/v1/sleep-configuration

The bed and zones you are on are in list_devices (each zone shows its user). Read it before set_away.

Request parameters

Headers
Authorization string required

Your API key as a bearer token: Bearer os_…. Make one on the API keys page; see Authentication.

Response parameters

200 OK application/json
  • configuration object | null required

Errors

Every error answers { "error": { "code", "message" } }.

StatusCodeMeaning
400invalidInvalid input.
401unauthorizedMissing or unsupported API key.
403forbiddenNot allowed on this device or user.
429rate_limitedRate limit exceeded.
503unavailableNot available for this account.
Also an MCP tool: get_sleep_configuration