Skip to main content
POST
Set quarantine overrides on many tests

Authorizations

Authorization
string
header
required

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.

Body

application/json

Quarantine overrides to set on many tests, with one reason for all of them.

items
object[]
required

The tests to change, at most 100, each id once.

Required array length: 1 - 100 elements
reason
string

Why the override was set, shown with it in the web app and on the test's quarantineOverride.

Required string length: 1 - 1000
Example:

"Fails only on the Windows shard; tracked in TRUNK-1234."

Response

Each test's outcome, in request order

The outcome of each item of a many-form request. A request that is refused as a whole answers a coded error instead, never a BulkResult.

results
object[]
required

One entry per requested item, in request order.

Maximum array length: 100
succeededCount
integer
required
Example:

2

unchangedCount
integer
required
Example:

1

failedCount
integer
required
Example:

0