Pull requests
List pull requests and review data
List tracked pull and merge requests, including those with zero findings. Requires pull_requests:read and advanced insights. Request functional_validation to include issue checklists when entitled. Batch lookup returns one row per matched PR. Unmatched URLs are omitted. Use updated_after for incremental reads and upsert by id.
GET
List pull requests and review data
An organization admin can create a Review data (read only) key in Settings > API Keys. The key reads review data for the organization. The organization needs API access and advanced insights.
To look up known pull or merge requests, repeat the URL parameter. Each matched request appears once, including reviewed requests with zero findings. Keep unmatched URLs in the source dataset when calculating coverage.
Finding counts describe the latest stored review for each PR and reflect later status changes for those findings. To measure coverage of the current revision, request
expand=review and compare review.commit_sha with the current head SHA on the code host.
For incremental syncs, pass an inclusive RFC 3339 updated_after timestamp, follow next_cursor with the same filters and upsert by id. Save the time the sync started after processing its last page so changes during pagination are picked up on the next sync.