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 permissions it holds. A new key starts with no permissions: it can read merge queues but change nothing in them, and it cannot get a Dynamic CI plan. Each endpoint that needs a permission names it in its description; the Dynamic CI plan endpoints need Generate Dynamic CI plans.
Query Parameters
Response
A page of pull requests