List every quarantined test for a CI run
Lists the testId of every quarantined test in a collection for one repository, in testId order, so a test runner can decide each failure itself as it happens. Take repositoryId and testCollectionUuid from POST /v2/test-collections/{id}/quarantine-status, which also reports quarantineEnabled; while quarantining is off this list is empty. A runner computes each test’s testId from those two and its own test id, and matches on it. A page holds up to 25,000 tests. A repositoryId that is neither the nil UUID nor a repository in your organization is a 404. Requires the Upload test results permission. Quarantine changes reach this list within a minute, so a test that joins or leaves the set while you page through it may be missed, or still listed, until your next pass.
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"
Query Parameters
Page size, between 1 and 25000.
1 <= x <= 2500025
Opaque cursor from a previous response's nextCursor. A cursor is bound to the operation and filter it was minted for.
"AQEKZm9vYmFy"
Set true to include total in the response. Costs an extra COUNT query, so it is off by default.
false
The repository the tests are stored under, as quarantine-status returns it. The nil UUID for uploads without a repository.
"7a1f0e3d-2b4c-4d5e-8f90-123456789abc"
Response
A page of quarantined tests
25000Opaque cursor for the next page, or null on the last page. Pass it back verbatim as cursor; do not construct or inspect one.
"AQEKZm9vYmFy"
True when another page is available.
true
Total rows matching the filter. Present only when the request set includeTotal=true.
1247