Get Latest Readings
Retrieve the most recent sensor readings, optionally filtered by greenhouse.Query Parameters
ID of the greenhouse to filter by (defaults to “001”)
Maximum number of readings to return
Response
Timestamp of the reading (ISO 8601)
Unique identifier for the sensor
ID of the greenhouse
ID of the tenant owning this reading
Type of sensor (TEMPERATURE, HUMIDITY, CO2, LIGHT, etc.)
Numeric value of the reading
Unit of measurement (°C, %, ppm, lux, etc.)
Example Request
Example Response
Get Readings by Greenhouse
Retrieve all sensor readings for a specific greenhouse within a time window.Path Parameters
ID of the greenhouse
Query Parameters
Number of hours to look back from now
Response
Returns an array of sensor readings (same structure as “Get Latest Readings”).Example Request
Get Readings by Sensor ID
Retrieve all readings for a specific sensor within a time window.Path Parameters
Unique identifier for the sensor
Query Parameters
Number of hours to look back from now
Response
Returns an array of sensor readings ordered by time.Example Request
Get Current Sensor Values
Retrieve the current (most recent) values for all sensors in a greenhouse.Query Parameters
ID of the greenhouse