Authentication is required prior to accessing the Willow API. Refer to Authentication section above for details.
- Retrieve multiple latest values
Willow Public API (v3)
Time Series
The Time Series endpoints are used for sending or receiving telemetry data. Once a Capability twin has been created that represents the time series, the telemetry associated with that twin can be created using either the twin's dtId (aka twinId) or externalId, a timestamp, and a value. Data is transmitted as an array so time series data can be batched and sent within a single request. Similarly, time series can be retreived for one or more Capability twins at a time using the twinId(s).
Timestamp when the source recorded the value in ISO 8601 format
Properties or metadata about the observation or event being trended.
- https://{instance}.app.willowinc.com/api/v3/time-series
- Payload
- JS
- C#
- Java
- Python
[ { "connectorId": "TW-CC-01", "twinId": "TW-DD-II-01", "externalId": "PNTC4Jm8vXy7bWq9rT5sHkLz2p", "sourceTimestamp": "2024-10-01T12:34:56Z", "scalarValue": 42, "properties": { … } } ]
- https://{instance}.app.willowinc.com/api/v3/time-series/{twinId}
- Payload
- JS
- C#
- Java
- Python
No request payloadOK
Gets or sets the data.
{ "data": [ { … } ], "continuationToken": "CgAAYQAAAAAAABQ...", "errorData": { "message": "Error message", "ids": [ … ] } }
- https://{instance}.app.willowinc.com/api/v3/time-series/{twinId}/latest
- Payload
- JS
- C#
- Java
- Python
No request payloadOK
Timestamp when the source recorded the value in ISO 8601 format
Timestamp when Willow received the value in ISO 8601 format
The data value being trended
The data value being trended
Properties or metadata about the observation or event being trended.
[ { "connectorId": "TW-CC-01", "twinId": "TW-DD-II-01", "externalId": "PNTC4Jm8vXy7bWq9rT5sHkLz2p", "sourceTimestamp": "2024-10-01T12:34:56Z", "enqueuedTimestamp": "2024-10-01T12:35:00Z", "scalarValue": 42, "properties": { … }, "dataQuality": { … } } ]
- https://{instance}.app.willowinc.com/api/v3/time-series/ids
- Payload
- JS
- C#
- Java
- Python
[ "string" ]
OK
Gets or sets the data.
{ "data": [ { … } ], "continuationToken": "CgAAYQAAAAAAABQ...", "errorData": { "message": "Error message", "ids": [ … ] } }
- https://{instance}.app.willowinc.com/api/v3/time-series/ids/latest
- Payload
- JS
- C#
- Java
- Python
[ "string" ]
OK
Timestamp when the source recorded the value in ISO 8601 format
Timestamp when Willow received the value in ISO 8601 format
The data value being trended
The data value being trended
Properties or metadata about the observation or event being trended.
[ { "connectorId": "TW-CC-01", "twinId": "TW-DD-II-01", "externalId": "PNTC4Jm8vXy7bWq9rT5sHkLz2p", "sourceTimestamp": "2024-10-01T12:34:56Z", "enqueuedTimestamp": "2024-10-01T12:35:00Z", "scalarValue": 42, "properties": { … }, "dataQuality": { … } } ]
Insights
Insights are issues, opportunities, or knowledge that can help optimize or improve the performance of a building. They can be associated with any twin within Willow and are triggered in real-time by Skills that are running within Willow's Activate Technology and analyzing the incoming time series data.