Skip to main content
GET
/
ev-charger
curl
curl --request GET \
  --url 'https://api.amps.ai/ev-charger' \
  --header 'x-api-key: amps_sk_test_xxxxxxxxxxxxxxxxxxxxxxxx'
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "device_ev_001",
        "vendor": "example_vendor_a",
        "sync": {
          "available": true,
          "lastPulledAt": "2026-05-07T09:23:45.000Z"
        },
        "metadata": {
          "model": "Wallbox 7kW",
          "source": "live"
        },
        "state": {
          "status": "charging",
          "isConnected": true,
          "isCharging": true,
          "currentPower": 7,
          "maxCurrent": 32,
          "powerRateLimit": 7.4
        },
        "commands": {
          "charge": {
            "parameters": {},
            "execution": [
              "immediate",
              "scheduled",
              "windowed"
            ]
          },
          "idle": {
            "parameters": {},
            "execution": [
              "immediate",
              "scheduled"
            ]
          }
        },
        "conflictStrategies": [
          "cancel_and_replace"
        ],
        "lastAction": {
          "id": "action_ev_def456",
          "command": "charge",
          "state": "acknowledged",
          "createdAt": "2026-05-07T09:21:00.000Z",
          "updatedAt": "2026-05-07T09:21:18.000Z",
          "links": {
            "self": "/actions/action_ev_def456"
          }
        },
        "currentSchedule": null
      },
      {
        "id": "device_ev_002",
        "vendor": "example_vendor_b",
        "sync": {
          "available": true,
          "lastPulledAt": "2026-05-07T09:24:10.000Z"
        },
        "metadata": {
          "model": "Wallbox 22kW",
          "source": "cache"
        },
        "state": {
          "status": "available",
          "isConnected": false,
          "isCharging": false,
          "currentPower": 0,
          "maxCurrent": 32,
          "powerRateLimit": 22
        },
        "commands": {
          "charge": {
            "parameters": {},
            "execution": [
              "immediate",
              "scheduled",
              "windowed"
            ]
          },
          "idle": {
            "parameters": {},
            "execution": [
              "immediate",
              "scheduled"
            ]
          }
        },
        "conflictStrategies": [
          "cancel_and_replace"
        ],
        "lastAction": null,
        "currentSchedule": null
      }
    ],
    "pagination": {
      "limit": 10,
      "offset": 0,
      "total": 2,
      "hasMore": false
    }
  },
  "meta": {
    "requestId": "req_8a2Bf3kP",
    "environment": "sandbox",
    "timestamp": "2026-06-02T12:00:00.000Z",
    "latencyMs": 12
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

userId
string

Filter devices by userId

Example:

"user_abc123"

offset
number

Number of devices to skip (default: 0)

Example:

0

limit
number

Maximum number of devices to return (1-50, default: 10)

Example:

10

Response

EV Charger devices retrieved successfully

success
boolean
required

Always true for success responses.

data
Paginated Ev Charger · object
required
meta
Response Meta · object
required

Metadata attached to every response: the request identifier, the serving environment, the build timestamp, and the server-side latency.