Skip to main content
Question

Number of datapoints between 2 timestamp without aggregation

  • June 15, 2026
  • 0 replies
  • 10 views

RAMBOURG Pierre
Seasoned ⭐️⭐️

Hi experts,

 

In order to decide whether to use an aggregation strategy (or no aggregation at all), I need to know the number of data points between two timestamps without aggregation (server-side calculation).

 

I’m looking for this code of call :

client.time_series.data.count(external_id=<str>, start=<int | datetime>, end=<int | datetime>) -> int

I'm trying to avoid having to perform a granularity calculation

 

Thanks !

Regards,

Pierre