Skip to main content
GET
/
schedules
curl
curl --request GET \
  --url 'https://api.amps.ai/schedules?deviceId=deviceId_value' \
  --header 'x-api-key: amps_sk_test_xxxxxxxxxxxxxxxxxxxxxxxx'
{
  "items": [
    {
      "id": "sched_abc123",
      "deviceId": "dev_abc123",
      "state": "active",
      "timezone": "Europe/London",
      "recurrence": {
        "rule": "daily"
      },
      "slots": [
        {
          "time": "00:30",
          "duration": "PT5H",
          "action": {
            "command": "charge",
            "parameters": {
              "target": {
                "value": 100,
                "unit": "percent"
              }
            }
          }
        }
      ],
      "createdAt": "2026-04-20T12:00:00.000Z",
      "nextFireAt": "2026-04-30T00:30:00.000Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "offset": 0,
    "total": 1,
    "hasMore": false
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.amps.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Query Parameters

offset
number

Pagination offset (default 0).

Example:

0

limit
number

Maximum number of schedules to return (1-50, default 10).

Example:

10

status
enum<string>

Filter by schedule status.

Available options:
pending,
active,
completed,
cancelled
deviceId
string
required

Device whose schedules to list.

Example:

"dev_abc123"

Response

Schedules listed.