---
title: "List Thermostat Schedules"
method: POST
path: "/thermostats/schedules/list"
tags: ["/thermostats"]
---

# List Thermostat Schedules

`POST /thermostats/schedules/list`

## Request

- Base URL: `https://connect.getseam.com`
- URL: `https://connect.getseam.com/thermostats/schedules/list`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/seam/apis/seam-connect/docs/thermostats/schedules/list/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of all [thermostat schedules](/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](/capability-guides/thermostats).

## Request body

- object
  - `device_id` string, uuid, required: ID of the thermostat device for which you want to list schedules.
  - `user_identifier_key` string: User identifier key by which to filter the list of returned thermostat schedules.

## Response `200`

OK

- object
  - `thermostat_schedules` ThermostatSchedule[], required
    - `climate_preset_key` string, required: Key of the [climate preset](/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
    - `created_at` string, date-time, required: Date and time at which the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created.
    - `device_id` string, uuid, required: ID of the desired [thermostat](/capability-guides/thermostats) device.
    - `ends_at` string, date-time, required: Date and time at which the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    - `errors` object[], required: Errors associated with the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
      - `error_code` string, required: Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
      - `message` string, required: Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
    - `is_override_allowed` boolean: Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts.
    - `max_override_period_minutes` integer, nullable: Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
    - `name` string, nullable, required: User-friendly name to identify the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
    - `starts_at` string, date-time, required: Date and time at which the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    - `thermostat_schedule_id` string, uuid, required: ID of the [thermostat schedule](/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
    - `workspace_id` string, uuid, required: ID of the workspace that contains the thermostat schedule.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/seam/apis/seam-connect.md) - [All operations](https://skmtc.dev/seam/apis/seam-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/seam/apis/seam-connect/revisions/00c35395ce12?raw)
