Skip to main content
GET
/
ev-charger
/
{deviceId}
curl
curl --request GET \
  --url 'https://api.amps.ai/ev-charger/device_abc123' \
  --header 'x-api-key: amps_sk_test_xxxxxxxxxxxxxxxxxxxxxxxx'
{
  "success": true,
  "data": {
    "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"
    ],
    "settings": {
      "max_charge_rate": {
        "value": 11,
        "unit": "kw",
        "min": 0,
        "max": 50
      }
    },
    "lastAction": {
      "id": "action_ev_def456",
      "command": "charge",
      "state": "completed",
      "createdAt": "2026-05-07T08:15:00.000Z",
      "updatedAt": "2026-05-07T08:18:00.000Z",
      "links": {
        "self": "/actions/action_ev_def456"
      }
    },
    "currentSchedule": null
  },
  "meta": {
    "requestId": "req_8a2Bf3kP",
    "environment": "sandbox",
    "timestamp": "2026-06-02T12:00:00.000Z",
    "latencyMs": 12
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

deviceId
string
required

The unique identifier for the EV Charger device

Example:

"device_abc123"

Query Parameters

expedite
boolean

Use expedite cache with 1 minute TTL instead of normal 15 minute TTL

Example:

false

Response

EV Charger state retrieved successfully

success
boolean
required

Always true for success responses.

data
EV Charger Response · 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.