Sign in

List pull requests

documented

List pull requests for a repository.

GET /{organization}/{project}/_apis/git/pullrequests?searchCriteria.repositoryId={repositoryId}&api-version=7.0Repositoriesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://dev.azure.com/{{$organization}}/{{$project}}/_apis/git/pullrequests?searchCriteria.repositoryId={{$repositoryId}}&api-version=7.0" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"
List pull requests · Visual Studio · OpenIntegrations