Timeline events
List pending timeline events
Lists the pending one-off timeline events on the device (the ones made with schedule_timeline_event).
GET
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
Authorization string requiredYour API key as a bearer token: Bearer os_…. Make one on the API keys page; see Authentication.
Query parameters
serialstring requiredDevice serial number (from list_devices, e.g. "AA:BB:CC:DD:EE:FF")
Response parameters
200 OK application/json
eventsobject[] required
Errors
Every error answers { "error": { "code", "message" } }.
list_timeline_events