v2

latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KB

Pull request batch merged

Triggered when the last pull request in a batch gets merged

postWebhookpull_request_batch.merged

Payload

test_branchstring required

The branch the pull request or pull request batch was tested on

test_branch_shastring required

The SHA of the branch the pull request or pull request batch was tested on

test_pr_numberinteger

The number of the pull request used to test the pull request or pull request batch

merged_reason'MERGE_GRAPH_MERGE' | 'MANUAL_MERGE' | 'MERGE_GRAPH_DIRECT_MERGE'

The reason the batch was merged

type'pull_request_batch.merged' required

The type of webhook event that occurred

action'merged' required

The type of action that triggered the webhook

pr_numbersinteger[] required

The PR numbers of the pull requests in the batch

pr_numbers_in_batchinteger[]

The PR numbers of all pull requests that were tested together in this batch. This may be a superset of pr_numbers if some PRs in the batch failed to merge.

status'merged' required

The current status of the Pull Request batch

target_branchstring required

The name of the branch targeted by the merge queue where the event occurred

timestampstring date-time required

The ISO 8601 timestamp of when this state transition occurred