List the CI jobs on a commit
The latest attempt of every CI job on one commit, oldest first. Address the commit by pullRequestId (its head, or commitSha) or by repositoryId and commitSha.
A job is a workflow run and a rendered job name, so each matrix leg is its own job and a re-run folds into the job it re-ran. A failed job carries its failure inline: the failing step, the AI analysis, the log excerpt and its cluster.
The list follows GET /v2/pull-requests/{id}’s ci.jobsUrl. Send If-None-Match with the last ETag to get 304 when nothing changed, or updatedAfter to read only the jobs that moved.
A page walk is not a snapshot: a job whose data arrives late can sort before a cursor already passed. To be sure of every job, compare the count read with ci.jobs.total on the pull request, and read again when it is lower.
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 key with none can read merge queues but change nothing in them. Permissions cover merge queues and test-result uploads, including the quarantine lookups a CI run makes before it uploads; any key can call the other Flaky Tests and Dynamic CI endpoints, including their writes.
Query Parameters
Response
A page of jobs