Ability to download the latest version of an artifact on a given branch

Hi all! Love using Github action so far.

I want to be able to compare benchmark performance between a new branch and main. The benchmarking tool I’m using supports this; given a “previous run”, it will generate comparisons.

I want to fetch the latest benchmark run report from main so it can be compared with a new branch’s run.

Based on the API docs I don’t think there is a way to fetch the latest artifact for a given branch. Is this correct? Are there plans to extend the APIs in this way?