Skip to main content
GET
Get a test collection

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 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

id
string
required

The collection's id: 8 alphanumeric characters.

Pattern: ^[0-9A-Za-z]{8}$
Example:

"aB3xY9kQ"

Response

The test collection

id
string
required

The collection's id.

Example:

"aB3xY9kQ"

name
string
required
Example:

"Backend integration tests"

description
string | null
required
Example:

"Owned by the platform team."

testCount
integer
required

Distinct tests seen in this collection. Reflects ingested uploads, so a brand-new collection reports 0 until its first upload is processed.

Example:

1284

quarantineEnabled
boolean
required

Whether quarantining is turned on for this collection. False until configured.

Example:

true

autoQuarantineEnabled
boolean
required

Whether flaky tests are quarantined automatically. False until configured.

Example:

false

createdAt
string<date-time>
required
Example:

"2026-01-14T09:12:00.000Z"

updatedAt
string<date-time>
required
Example:

"2026-07-20T16:44:10.000Z"