When we try to get the timeseries data points in FDM using GraphQL, we get only 10 data points in the response.
No cursor is provided so that we can try to retrieve the further data points.
Details of the model:
project: slb-pdf
model: Avocet test data model with timeseries
Please let us know how we can retrieve all the data points.
Best answer by Emil Sandsto
Hey Gargi!
The default limit is quite low (just 10 items), so increase it by setting the limit parameter of the datapoints field. The maximum limit is 10000 for the whole query, which means that if you use listTimeSeriesRef(first: 100), the max limit is 100 data points per time series.
We don’t support pagination out of the box for datapoints, however it's possible to manually paginate by adjusting the start and end time range (two filters available on the datapoints field).
The default limit is quite low (just 10 items), so increase it by setting the limit parameter of the datapoints field. The maximum limit is 10000 for the whole query, which means that if you use listTimeSeriesRef(first: 100), the max limit is 100 data points per time series.
We don’t support pagination out of the box for datapoints, however it's possible to manually paginate by adjusting the start and end time range (two filters available on the datapoints field).
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.