Get quarantine status 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.
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 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
Body
The repository and the tests to look up.
Response
The collection's quarantine status