Docs

Timeline events

List pending timeline events

Lists the pending one-off timeline events on the device (the ones made with schedule_timeline_event).

GET
/v1/timeline-events

Recurring sleep-schedule phases are NOT listed here — change those with update_sleep_schedules or override_sleep_schedule_tonight. Use the returned ids with cancel_timeline_events.

Request parameters

Headers
Authorization string required

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

Query parameters
  • serial string required

    Device serial number (from list_devices, e.g. "AA:BB:CC:DD:EE:FF")

Response parameters

200 OK application/json
  • events object[] 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: list_timeline_events