Thanks @Bianca Hoch! Fantastic, but I did check out the code for the Prefect API endpoint before I asked this question and didn't see where it removed the related files from the filesystem. It simply did a sqlalchemy delete command to the database, which would leave the loose pickled files (task cache, flow cache, result_in_memory=False) to forever build up. Am I correct in thinking this?