Skip to main content
GET
/
sensors
List sensors
curl --request GET \
  --url http://localhost:8000/sensors \
  --header 'X-API-KEY: <api-key>'
{
  "items": [
    {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "model": "HPT604-V",
      "type": "ph",
      "physicalSensor": {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "serialNumber": "<string>"
      },
      "connectionType": "integrated",
      "name": "<string>",
      "alias": "<string>",
      "deviceSerialNumber": "<string>",
      "parameters": [
        {
          "deviceSerialNumber": "<string>",
          "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "alias": "<string>",
          "name": "<string>",
          "parameterType": "temperature",
          "baseUnit": "<string>",
          "displayUnit": "<string>",
          "displayPrecision": 123,
          "suppressFaults": true,
          "sourceType": "<string>",
          "readIndex": 123,
          "deviceAlarmSupported": true,
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "parameterPath": {
            "deviceSerialNumber": "1234567890",
            "sensorName": "VibratingWire_CH1",
            "parameterName": "Frequency_CH1"
          },
          "status": "ok",
          "configErrorMessage": "<string>",
          "lastFaultSummary": {
            "reason": "null_value",
            "message": "<string>",
            "faultyPointsCount": 123,
            "totalPointsCount": 123
          },
          "lastFaultTimestamp": "2023-11-07T05:31:56Z"
        }
      ],
      "channelIndex": 123,
      "isActive": true,
      "health": {
        "status": "ok",
        "warnings": [
          "<string>"
        ],
        "errors": [
          "<string>"
        ]
      },
      "attributes": [
        {
          "behaviour": "static",
          "name": "<string>",
          "alias": "<string>",
          "valueType": "numeric",
          "value": 123,
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "attributeSource": "custom",
          "description": "<string>",
          "unit": "<string>",
          "function": "offset",
          "parameterType": "unknown",
          "timestamp": "2023-11-07T05:31:56Z",
          "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "physicalSensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "optionSet": {
            "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "name": "<string>",
            "description": "<string>",
            "orgUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "optionsType": "numeric",
            "options": [
              {
                "value": 123,
                "label": "<string>"
              }
            ],
            "allowCustomValue": true
          },
          "template": {
            "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "templateName": "<string>"
          },
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "lastActivatedAt": "2023-11-07T05:31:56Z",
      "lastDeactivatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

API key for authentication passed in the X-API-KEY header.

Example: X-API-KEY: <apiKey>

Query Parameters

deviceSerialNumbers
string[]

Array of device serial numbers

sensorUuids
string<uuid>[]

Array of sensor UUIDs

includeFormulas
boolean

Include the formula of any derived parameters in the response

sensorModels
enum<string>[]

Filter by sensor models

Available options:
HPT604-V,
HPT604-ABS,
ATMOS41,
SPS30,
ATMOS22,
ONTOTO-RADAR,
UE3002,
VW-GENERIC,
WDS308,
VIBWIRE-108-SDI12,
PULSE-RAIN,
PULSE-WATER-METER,
SEN50,
ANB-AQ5,
EP100G,
EP100GL,
SENTEK,
4-20MA,
UNICONN,
CBS-BUBBLER,
HPT915,
SMART-IPI,
SO411,
TDR310,
SMR02,
SMR07,
SMR04,
SMR05,
SMR09,
BAROMETER,
HWT9053,
PONSEL-PH,
PONSEL-C4E,
PONSEL-NTU,
GEOKON-6180,
UF2000B,
AS3935,
VM5XX,
WXT536,
PT12,
TILT,
SMRMAX,
AQUA-TROLL-100,
DAX-CTD,
G6,
SMR-LEVEL-EC,
SOLINST-ABS,
HPT604-VT,
SMART-CONTRACT,
VW-SDI12
sensorTypes
enum<string>[]

Filter by sensor types

Available options:
absolute_pressure,
gauge_pressure,
absolute_pressure_conductivity,
barometer,
weather,
vibrating_wire,
pulse_rain,
pulse_water_meter,
dust,
radar,
ph,
soil_moisture,
gauge_pressure_temp,
oxygen_gas,
ultrasonic_flow,
ma420,
wind,
ultrasonic_distance,
bubbler_level,
inclinometer,
conductivity,
turbidity,
lightning,
orp,
dissolved_oxygen,
conductivity_ph,
linear_displacement
includeInactive
boolean

Include sensors that are not currently active on the device firmware (for archived data)

Response

Successful response

Response body for querying sensors

items
object[]
required