List every quarantined test for a CI run
Internal. This endpoint is intended for internal use by Trunk’s analytics-cli and test-runner plugins. Use it at your own risk: it may change without notice.
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. Name the repository the tests ran in as repo in the body, or null for an upload without a repository (--no-repo); the cursor and limit stay in the query. This is a read sent as POST so the repository travels in the body, as it does for quarantine-status. Every page also carries the collection’s testCollectionUuid, the repositoryId the tests are stored under, and quarantineEnabled; while quarantining is off the list is empty. A runner computes each test’s testId from testCollectionUuid, repositoryId and its own test id, and matches on it. A page holds up to 25,000 tests. 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 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.
Path Parameters
Query Parameters
Body
Response
A page of quarantined tests