Skip to main content
POST
Unmute a monitor for one test

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.

Path Parameters

monitorId
string
required

The monitor's id.

Minimum string length: 1
Example:

"1a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"

testId
string
required

The test's globally unique id.

Minimum string length: 1
Example:

"bfeebcf4-0000-8000-8000-000000000001"

Response

The monitor's state for the test

One test a monitor holds: one it is active on, or one whose mute on it is in force.

monitorId
string
required
Example:

"1a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"

testId
string
required

The test's globally unique id.

Example:

"bfeebcf4-0000-8000-8000-000000000001"

state
enum<string>
required

active when the monitor is active on the test and has not muted it, muted when a mute is in force.

Available options:
active,
muted
Example:

"active"

isMuted
boolean
required

True when a mute is in force; the same as state: muted.

Example:

false

mutedUntil
string<date-time> | null
required

When the mute ends. Null for a mute with no end, and when the test is not muted.

Example:

"2026-06-10T00:00:00.000Z"

mutedBy
object | null
required

Who muted the test. Null when it is not muted.

muteReason
string | null
required

Null when no reason was given, or the test is not muted.

Example:

"Known flake, fix in progress"

lastDetectedAt
string<date-time> | null
required

When the monitor last detected the test: its last pass on retry, failure, skip or slow run, or when a new test first ran. Always null for a failure-rate monitor, which records no detection time.

Example:

"2026-06-03T10:00:00.000Z"

updatedAt
string<date-time>
required

When the monitor's state for the test last changed. A mute or unmute moves it.

Example:

"2026-06-03T10:00:00.000Z"