Pipeline resources can be found by using the Run API https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/get