v2

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-30112.1 KB

Retrieve sensor metadata

Fetches the JSONLogic formula, boundaries, and version information for a specific sensor.

get/sensors/config

Query parameters

sensoridstring required

The unique identifier of the sensor.

Response

Successful response containing the sensor configuration.

sensor_idstring required

The unique identifier for the sensor.

formulastring required

The dynamic mathematical expression used to standardize raw readings into SI units. Must use standard infix notation and include the variable 'x' (representing the raw value).

upper_boundnumber double required

The maximum limit for this sensor used for alerting.

lower_boundnumber double required

The minimum limit for this sensor used for alerting.

versioninteger required

The version number of this specific configuration record.

Example response

{
  "sensor_id": "sensor-geo-8472",
  "formula": "x * 1.8 + 32",
  "upper_bound": 150000.5,
  "lower_bound": -100,
  "version": 2
}
All 1 operations