List a pull request's queue-entry state history
Returns the state transitions of this pull request’s queue entry. Defaults to oldest first — the one list in this API that does, because it is an append-only log a reader replays forward — so finding the CURRENT transition means paging to the end, and hasMore: false is how you know you are there. Send direction=newest for v1’s includeTimeline order, where the current transition is the first row of the first page. A pull request that was never enqueued is a 200 with an empty page, not a 404.
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.
Path Parameters
Query Parameters
Response
A page of state transitions