Skip to main content

Get latest values

GET 

/api/v1/latest_values

Request

Query Parameters

    id stringrequired

    ID(s) of stream, may contain up to 30 different IDs, separated by commas

Responses

successful operation

Schema

    serverTime date-time
    error stringnullable

    description of error in natural language, absent in case of successful operation

    payload

    object

    nullable

    The response data

    latest_values

    object

    Latest value by ID

    property name*

    LatestValue

    Latest value by ID

    value string

    Most recently published index value

    time int64

    Milliseconds since Unix epoch of value

    amendTime int64nullable

    If the value has been amended after being previously published, this field indicates the time of the amendment in milliseconds since Unix epoch. If no amendment has been made, the field will be absent.

    repeatOfPreviousValue booleannullable

    If an error has occurred during calculation such that an index value could not be calculated for that day, and it has been replaced with the value from the previous day, this boolean field will exist, and will be true. If no such error has occurred, the field will be absent.

Loading...