How to fix data gaps?
When you data source is having temporary issues it could be that data gaps occur in the TrendMiner index because the data source was not able to provide the data timely. When the data is backfilled in the data source TrendMiner will not re-sync this data if more recent data was already received.

There are 2 ways to fix this:
Re-index the impacted tag(s) completely via the index manager.
Use an API to delete the last X months of index data for a tag (pruning) and force TrendMiner to re-index only the last months.
To prune index data for a tag use the prune endpoint from the indexScheduler API:
POST /indexScheduler/indexableItems/<tag_uuid>/prune/endwith body:
{ "pruneDate": "2026-01-01T00:00:00Z" }curl example:
curl -X 'POST' \ 'https://cs.trendminer.net/indexScheduler/indexableItems/<tag_uuid>/prune/end' \ -H 'accept: */*' \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{ "pruneDate": "2026-01-01T00:00:00Z" }'