Access persisted raw data by specifyng the parameters you’re interested in. Add restrictions based on Stream or timings for finer-grained results.
Before you begin
If you don’t already have any Stream data in your workspace, you can use any Source of our Quix Library to set some up.
Get a Personal Access Token to authenticate each request.
Using the /parameters/data endpoint
Raw telemetry data is available via the
Fetching specific parameters
You can filter by a number of different factors but, at minimum, you’ll need to supply one or more parameters to fetch:
In this example, we’re requesting a single numeric parameter,
Each array of parameters is indexed based on parameter type, which can
Parameters are returned in a union, so if you request several, you’ll
get back all parameters that match.
If you just had a single parameter value in the catalogue, the response from the above call might look something like this:
Restricting by Stream or time
In reality, you’ll have far more data in the catalogue, so you’ll want to filter it. Three remaining properties of the request object allow you to do so:
Each stream you create has a unique ID. You can view the ID of a persisted via the Data section of the Quix Portal. Supply a list of stream IDs to restrict fetched data to just those streams:
You can also restrict data to a certain time span using the
to properties. These each expect a timestamp in nanoseconds, for
These timestamps cover a range of 100 seconds.