Get time-series report
baseline_get_reportRetrieve time-series reports from a Baseline irrigation controller, covering water usage, zone runtimes, moisture levels, and more, for any date range and resolution, per zone or controller-wide.
Instructions
Fetch a reporting time-series for a controller. Returns aligned timestamp/value points. Types: WaterUsage, ZoneRuntimes, ZonesActivity, ControllerActivity, MoistureLevels, Temperature, FlowMeterTotals, RainfallAccumulation, MeasuredFlow, ExpectedFlow. Dates are 'YYYY-MM-DD HH:mm'. Use id to scope to a single zone/device, omit for controller-wide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Report type. | |
| start | Yes | Start datetime, 'YYYY-MM-DD HH:mm'. | |
| end | Yes | End datetime, 'YYYY-MM-DD HH:mm'. | |
| controllerId | No | Controller id (from baseline_list_controllers). Optional when the account has exactly one accessible controller or BASELINE_CONTROLLER_ID is set; otherwise required. | |
| resolution | No | Bucket size (default daily). | |
| id | No | Zone/device id to scope the report; omit for controller-wide. |