Is there an API for logseq to extract "block" from the journal on daily basis?

The motivation is to do machine learning pattern recognition between tags and block of text.

Thanks,