Exporting artifact lineage graph

Hi! I am interested in exporting artifact lineage information. I see from the docs that it’s possible to traverse the artifact lineage graph by using the logged_by() and used_by() methods on an Artifact object - so I can “download” the lineage graph manually like this. But is there a way to export lineage information (in e.g. JSON format - but anything parsable really) from the UI, for example?