Get quarantine status for a CI run
Reports which tests are quarantined in a collection for one repository, so a CI run can ignore their failures. Send the run’s failing tests as testIdentifiers to get an answer for each. This is a read sent as POST because the identifier list can be large. Requires the Upload test results permission. Quarantine changes reach this response within a minute.
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 merge-queue permissions it holds; a key with none can read merge queues but change nothing. Those permissions scope merge queue only: every key can use the Flaky Tests and Dynamic CI endpoints, including their writes, whatever permissions it holds.
Path Parameters
The collection's id: 8 alphanumeric characters.
^[0-9A-Za-z]{8}$"aB3xY9kQ"
Body
The repository and the tests to look up.
Response
The collection's quarantine status
The collection's internal UUID, which a test's testId is computed from. Use it only for that: everywhere else a collection is addressed by its id.
"204b6c93-1c51-4e0f-a13c-e07b9bc60688"
The repository the tests are stored under. The nil UUID for an upload without a repository, or for a repository Trunk does not know.
"7a1f0e3d-2b4c-4d5e-8f90-123456789abc"
Whether quarantining is on for the collection. When it is off, no test is quarantined.
true
One entry per requested identifier, in request order. Empty when none were sent. The whole quarantined set is GET /v2/test-collections/{id}/all-quarantined-tests.
2000