Export not always returning 24 hours

When I request data from the endpoint POST /v1/reports/traffic I normally get 24 hours for past days. However, last week it shows less hours per day.

This is the case for multiple devices.

Example:

POST https://telraam-api.net/v1/reports/traffic

request body: {
  "level": "segments",
  "id": "9000007626",
  "format": "per-hour",
  "time_start": "2025-05-10 00:00:00Z",
  "time_end": "2025-05-20 00:00:00Z"
}

The response has not 24 hours per day:

Date Hours
10/05/2025 24
11/05/2025 22
12/05/2025 22
13/05/2025 22
14/05/2025 22
15/05/2025 21
16/05/2025 23
17/05/2025 21
18/05/2025 22
19/05/2025 24

The same happens with another device:

{
  "level": "segments",
  "id": "9000007626",
  "format": "per-hour",
  "time_start": "2025-05-10 00:00:00Z",
  "time_end": "2025-05-20 00:00:00Z"
}
Date Hours
10/05/2025 23
11/05/2025 22
12/05/2025 21
13/05/2025 22
14/05/2025 22
15/05/2025 21
16/05/2025 23
17/05/2025 21
18/05/2025 22
19/05/2025 24

This started this month. There are hours missing in the night. Before, the response always contained 24 hours.
Is something wrong with these devices?
Or was there some optimization by hiding the hours without activity?

Thanks for the question

There was a temporary issue with the processing of data for certain night hours over the last week or two for some devices. This has now been fixed so it should not happen going forward. It is not an issue with the devices or connection, but an issue on the backend.

1 Like