Single-job resource usage API

Are the endpoints for CPU/RAM usage used by the “Resources” tab of a job public?

Failing that, are there any plans to make usage reports filterable by project/branch/pipeline id?

My use-case is that I want to write a script which compares resource consumption of a branch with master, and currently it seems I have to get the usage report for all projects of the organization, the great majority of which is irrelevant.