---
title: "Get a quarantined test"
method: GET
path: "/ci/{owner}/repositories/{repository}/quarantines/{quarantine_id}"
tags: ["test_insights"]
---

# Get a quarantined test

`GET /ci/{owner}/repositories/{repository}/quarantines/{quarantine_id}`

Retrieve a single quarantined test by its quarantine ID.

## Path parameters

- `quarantine_id` string, uuid, required
- `owner` string, required — The owner of the repository
- `repository` string, required — The name of the repository

## Response `200`

Successful Response

- QuarantinedTest
  - `id` string, uuid, required — Unique identifier of the quarantine record.
  - `test_name` string, required — Fully qualified name of the quarantined test.
  - `test_id` string, uuid, required — Stable identifier of the test, derived from its name. Identical across every quarantine of the same test and matches the `test_id` filter on the list endpoint.
  - `reason` string, required — Free-form reason recorded when the test was quarantined.
  - `branch` string, nullable, required — Branch name this quarantine applies to. `null` means the test is quarantined on every branch.
  - `created_at` string, date-time, required — UTC timestamp when the test was added to quarantine.
  - `source` 'manual' | 'auto'
  - `is_recovered` boolean, required — True when recent runs of this test are healthy, suggesting the quarantine could be removed.

## Other responses

- `403` — Forbidden
- `404` — Not found
- `409` — Conflict
- `422` — Unprocessable entity

---

[API](https://skmtc.net/mergify/apis/mergify-api.md) · [All operations](https://skmtc.net/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mergify/mergify-api/revisions/ae394a06c465/schema)
