Forum Discussion
CesarGimeno
Apr 01, 2025Copper Contributor
Azure DevOps REST API - Obtain all Build Policies runs of a Pull Request.
I have recently started using the Azure DevOps REST API to obtain some information in order to store it and later use it. The problem I have encountered is that I can't seem to find an easy way to ob...
Jamony
Jun 29, 2026MCT
I don’t think there is a single REST endpoint that returns every historical build-validation run for a PR. The Policy Evaluations API gives the policy statuses for a PR artifact ID, while the Builds API is the better place to query run history. I’d query builds with reasonFilter=pullRequest,