Data Collection
Get DCI historical data
Changed onReturns historical data for the specified DCI. Time range can be specified using from/to timestamps, timeInterval, or itemCount. If no parameters provided, returns last hour of data.
get/objects/{object-id}/data-collection/{dci-id}/values
Request
- Base URLhttp://127.0.0.1:8000
- URLhttp://127.0.0.1:8000/objects/{object-id}/data-collection/{dci-id}/values
- Auth
- HTTP basic
- or API key in cookie session_handle
- or API key in header Session-Id
Path parameters
object-idstring required
Object ID or GUID
dci-idstring required
DCI ID or name
Query parameters
frominteger
Start timestamp (Unix epoch seconds)
tointeger
End timestamp (Unix epoch seconds)
timeIntervalinteger
Time interval in seconds (alternative to from/to)
itemCountinteger
Maximum number of items to return
outputFormat'RowColumn' | 'ColumnRow' | 'InstanceColumnRow'
For table DCIs: "RowColumn", "ColumnRow", or "InstanceColumnRow"
Response
Historical data
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking