Get single Tag value
Fetches the value of a specific tag identified by its name, along with optional filters for time range and conditions.
Last updated
Fetches the value of a specific tag identified by its name, along with optional filters for time range and conditions.
Last updated
Object | Data Type | Description |
---|---|---|
starttime
Yes
Starting time for filtering the data (e.g., *-10y
)
(Default: starttime=*-10m)
endtime
Yes
Ending time for filtering the data (e.g., *
)
(Default: endtime=*)
query
No
A condition to filter the results, acting like a WHERE clause in PostgreSQL.
sec
Second
m
Minute
h
Hour
d
Day
mo
Month
y
Year
*
Present
-
Go back (e.g., *-10y
means go back 10 years)
+
Go forward (e.g., *+10mo
means go forward 10 months)
data
array
Array of tag value objects returned from the API.
tagname
string
Name of the tag.
description
string/null
Description of the tag, if available.
subDescription
string/null
Sub-description of the tag, if available.
value
string
Current value of the tag.
quality
integer
Quality indicator of the tag value.
status
integer
Status code associated with the tag value.
timeStamp
datetime
Timestamp when the tag value was recorded.