---
title: "Retrieve sensor metadata"
method: GET
path: "/sensors/config"
---

# Retrieve sensor metadata

`GET /sensors/config`

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

## Query parameters

- `sensorid` string, required

## Response `200`

Successful response containing the sensor configuration.

- SensorConfig
  - `sensor_id` string, required — The unique identifier for the sensor.
  - `formula` string, 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_bound` number, double, required — The maximum limit for this sensor used for alerting.
  - `lower_bound` number, double, required — The minimum limit for this sensor used for alerting.
  - `version` integer, required — The version number of this specific configuration record.

## Other responses

- `400` — Bad Request - Missing or invalid sensorid.
- `404` — Not Found - The specified sensorid does not exist.

## Changes

- **2026-06-30** `15a262590ed5` — 1 breaking, 1 info
  - the `formula` response's property type/format changed from `object`/`` to `string`/`` for status `200`
  - the `formula` response's property default value `x` was added for the status `200`

[Change history](https://skmtc.dev/geoadmin/apis/sensor-configuration-api/changes/sensors/config/get.md)

---

[API](https://skmtc.dev/geoadmin/apis/sensor-configuration-api.md) · [All operations](https://skmtc.dev/geoadmin/apis/sensor-configuration-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geoadmin/sensor-configuration-api/revisions/15a262590ed5/schema)
