This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
How do I get all the queries that were run during the last week? #48
Unanswered
Auric-Manteo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried using the API to get all queries and iterate through the latest_query_data_ids:
last_used = redash._get("api/query_results/{}".format(query['latest_query_data_id'])).json()['query_result']['retrieved_at']
But there are queries that I know have been executed but have a latest_query_data_id of None.
So how can I get a list of the most recently executed queries with the date of execution?
Copied from here: getredash#6029
Beta Was this translation helpful? Give feedback.
All reactions