Skip to main content
GET
/
v1
/
equipment
/
sensors
List all sensors
curl --request GET \
  --url http://localhost:3000/v1/equipment/sensors
{
  "sensors": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "type": "fridge",
      "inventory_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "current_temp": 123,
      "current_humidity": 123,
      "status": "online",
      "last_reading_at": "2023-11-07T05:31:56Z",
      "location": "<string>"
    }
  ],
  "ambient_average": 123,
  "stats": {
    "total": 123,
    "online": 123,
    "warning": 123,
    "critical": 123,
    "offline": 123
  }
}

Response

List of sensors with stats

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