Skip to main content
The two things you cannot get from your own machine: the build ran on the forge, and the reviews were left there. Both are asked live rather than read from what a webhook happened to leave, because “is it green now” is the question somebody blocking on it has.

Checks

endpoint
One entry per repository the card has a pull request open in.
object[]
The file and line a failing check pointed at — the useful part of a red build. Gathered only for failing runs, and capped at twenty: a build that failed five hundred times is not five hundred things to read.

Reviews

endpoint

When one repository cannot be asked

A card can touch three repositories where one connection has lapsed. That one comes back carrying its reason; the other two still answer.
runs: null with an error is not the same as runs: []. The first is the forge not answering; the second is the forge saying nothing is running. Treating them alike is how a dashboard reports a green build that nobody ever ran.
A caller handed a single 500 for the whole set would learn nothing about either repository, which is why the failure is per entry.

A card with nothing open

An empty list, not a 404. The card exists and no pull request has been opened on it — which is an answer, and a different one from “no such card”, which is still 404.