How to subscribe query changes?

I developed this made by Ruby for backup to queries.
I want to subscribe query changes and exec backup by changed.
How to subscribe query changes?

Redash doesn’t publish change events for queries. You could write this yourself in two ways:

  1. Monitor the events table in the metadata database for “Save Query” events and publish them yourself.
  2. Periodically scrape the API for query hashes and check for changed ones.

@k4s1m
Hi k4s1m!
Thanks to you’re replay!
I will choice Periodically scrape the API for query hashes and check for changed ones.