---
title: "Preview the impact of dequeuing a pull request"
method: GET
path: "/repos/{owner}/{repository}/merge-queue/pull/{pr_number}/dequeue-impact"
tags: ["merge_queue"]
---

# Preview the impact of dequeuing a pull request

`GET /repos/{owner}/{repository}/merge-queue/pull/{pr_number}/dequeue-impact`

Return how many batches would be interrupted, how many other pull requests would be rechecked, and how many stacked pull requests would also be dequeued if the given pull request is manually dequeued

## Path parameters

- `pr_number` integer, required — The pull request number
- `owner` string, required — The owner of the repository
- `repository` string, required — The name of the repository

## Response `200`

Successful Response

- MergeQueueDequeueImpact
  - `interrupted_batches` integer, required — Number of in-progress batches whose checks would be interrupted and restarted if this pull request is dequeued
  - `rechecked_pull_requests` integer, required — Number of other pull requests from the interrupted batches that would be re-embarked and rechecked
  - `cascaded_pull_requests` integer, required — Number of queued pull requests stacked on top of this one that would also be dequeued (excludes the dequeued pull request itself)

## Other responses

- `403` — Forbidden
- `404` — The pull request is not found in any merge queue.
- `409` — Conflict
- `422` — Unprocessable entity

---

[API](https://skmtc.net/mergify/apis/mergify-api.md) · [All operations](https://skmtc.net/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mergify/mergify-api/revisions/ae394a06c465/schema)
