Skip to main content
GET
/
v1
/
scanner
/
equipment
/
sensors
List all sensors
curl --request GET \
  --url http://localhost:3000/v1/scanner/equipment/sensors
{
  "sensors": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "fridge",
      "inventory_group_id": "<string>",
      "current_temp": 123,
      "current_humidity": 123,
      "status": "online",
      "last_reading_at": "<string>",
      "location": "<string>"
    }
  ],
  "ambient_average": 123,
  "stats": {
    "total": 123,
    "online": 123,
    "warning": 123,
    "critical": 123,
    "offline": 123
  }
}

Response

200 - application/json

List of sensors with stats

sensors
object[]
required
ambient_average
number | null
required
stats
object
required