Kibana time filter change dynamically API

Hi all.
I would like to know if it is possible to dynamically change the time range in Kibana according to the last load data.
I mean, I have an ETL loading data every day, but some days the data comes empty, the process may fail or not yet fired, for that, I need to change the time selector filter in kibana dynamically to be able to show the data of the last loaded day.
I am thinking of building a python script to check the data of the last loaded day and change the global time filter according to the last loaded data.
Is that possible?

Welcome to our community! :smiley:

There's nothing native to the stack that can do this, so your approach would be the best one.