GET
/
v1
/
entities
/
{entityId}
/
readings
/
last
curl --request GET \
  --url https://platform.realto.io/api/v1/entities/{entityId}/readings/last \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "instantaneousCurrent": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "instantaneousVoltage": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "isCharging": true,
    "isPluggedIn": true,
    "location": {
      "address": "<string>",
      "latitude": 123,
      "longitude": 123
    },
    "locationMatches": [
      {
        "accuracy": 123,
        "location": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "label": "<string>"
        }
      }
    ],
    "negativeActiveEnergy": {
      "t1": 123,
      "t2": 123,
      "t3": 123,
      "t4": 123,
      "total": 123,
      "unit": "<string>"
    },
    "negativeActiveEnergyPhases": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "negativeActiveInstantaneousPower": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "negativeGasVolume": {
      "unit": "<string>",
      "value": 123
    },
    "odometer": {
      "unit": "<string>",
      "value": 123
    },
    "positiveActiveEnergy": {
      "t1": 123,
      "t2": 123,
      "t3": 123,
      "t4": 123,
      "total": 123,
      "unit": "<string>"
    },
    "positiveActiveEnergyPhases": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "positiveActiveInstantaneousPower": {
      "l1": 123,
      "l2": 123,
      "l3": 123,
      "total": 123,
      "unit": "<string>"
    },
    "positiveGasVolume": {
      "unit": "<string>",
      "value": 123
    },
    "positiveReactiveEnergy": {
      "t1": 123,
      "t2": 123,
      "t3": 123,
      "t4": 123,
      "total": 123,
      "unit": "<string>"
    },
    "range": {
      "unit": "<string>",
      "value": 123
    },
    "stateOfCharge": {
      "unit": "<string>",
      "value": 123
    }
  },
  "entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "measured": "2023-11-07T05:31:56Z",
  "processed": "2023-11-07T05:31:56Z",
  "received": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string
required

The id of the Entity

Response

200
application/json
OK

A reading.

data
object

The data of a reading.

entityId
string

The id of the Entity

id
string

The id of the reading.

measured
string

The timestamp of the reading.

processed
string | null

The timestamp the reading was processed.

received
string | null

The timestamp the reading was received.