List Dynamic CI's decisions
Beta. This endpoint and its spec can change at any time, without notice. Fetch the spec again at least every 5 minutes (GET /v2beta/dynamic-ci/openapi.json), and do not commit a script or integration that depends on this shape.
Every job decision Dynamic CI made, newest first, as the Decisions page lists them: whether it recommended a run or a skip, why, and what the job then did. Every repository in the organization unless owner and name name one, over the last 7 days unless since and until say otherwise.
A decision can change after it is listed: outcome fills in when the job finishes, and falseSkip can become true hours later. To keep a copy, read the window again with some overlap and replace each decision by id. The cursor holds the window the first page used, so a decision made while you page does not move a page, and a cursor whose window starts more than a day past the 90-day limit is refused.
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
Comma-separated; a decision matching any of them is kept. What the job did (passed, failed, skipped), or what that showed about the verdict: falseSkip (a skip found wrong), falseRun (a run whose job passed), skipNotTaken (an Enforced skip whose job ran).
"falseSkip,skipNotTaken"
Response
A page of decisions