List a merge queue's pull requests
Lists the pull requests in a queue, most recently enqueued first.
This is not queue order — do not infer position from this list’s index. For the order the engine will consider, use GET /v2/merge-queues/{id}/order. state accepts a comma-separated list of queue-entry states. readiness.hasImpactedTargets is omitted on this list read, because resolving it costs a storage lookup per entry; read a single pull request to get it. sort and direction are not configurable yet: each accepts only the value this list already uses (createdAt, desc) and rejects anything else with 400. Neither is ignored, so a client cannot silently receive an ordering it did not ask for.
concludedAfter and concludedBefore keep pull requests that reached merged, failed or cancelled inside that window, both bounds inclusive — v1’s since/until. That is a fact about the entry’s history, not its current state: an entry that failed in the window and was later resubmitted still matches, so pair them with state to filter on where it is now.
Authorizations
An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the merge-queue permissions it holds; a key with none can read merge queues but change nothing. Those permissions scope merge queue only: every key can use the Flaky Tests and Dynamic CI endpoints, including their writes, whatever permissions it holds.
Path Parameters
The merge queue's id.
"xK9mP2nQ"
Query Parameters
Page size, between 1 and 100.
1 <= x <= 10025
Opaque cursor from a previous response's nextCursor. A cursor is bound to the operation and filter it was minted for.
"AQEKZm9vYmFy"
Set true to include total in the response. Costs an extra COUNT query, so it is off by default.
false
Comma-separated queue-entry states, e.g. testing,pending.
1"testing,pending"
Only pull requests opened by this author.
1"octocat"
Only entries that concluded at or after this instant (ISO-8601).
"2026-09-01T00:00:00Z"
Only entries that concluded at or before this instant (ISO-8601).
"2026-09-08T00:00:00Z"
Response
A page of pull requests
100Opaque cursor for the next page, or null on the last page. Pass it back verbatim as cursor; do not construct or inspect one.
"AQEKZm9vYmFy"
True when another page is available.
true
Total rows matching the filter. Present only when the request set includeTotal=true.
1247