I had a quick question to you about Query Results and Events (as seen from the admin page). How long is this data persisted for? Is there anything that cleans up this data after some time, if so can you point me to where this is done? If this data doesn’t expire, is there a simple way to purge old data via a redash API call?

Events are persisted forever and there is no cleanup process for them. Query results do have a cleanup process, see here.

Oof looks like that link died, here’s the link to the code arikfr@ linked to in the previous comment.