---
title: "List runs with stale completed status awaiting migration (internal)"
method: GET
path: "/internal/reclassification/runs/stuck-migrations"
tags: ["internal"]
---

# List runs with stale completed status awaiting migration (internal)

`GET /internal/reclassification/runs/stuck-migrations`

## Request

- Base URL: `https://api.helena.bio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.helena.bio/internal/reclassification/runs/stuck-migrations`
- Auth: none declared

Return run IDs that need re-migration.

Used by SO recovery beat task (storage.recovery_orphan_reclassification_migrations).

## Query parameters

- `older_than_minutes` integer: Threshold for finished_at age. Runs in completed state with NULL log_storage_path AND finished_at older than this many minutes are returned.

## Headers

- `X-Internal-Service-Token` string, nullable

## Response `200`

Successful Response

- StuckMigrationsResponse: Response for GET /internal/reclassification/runs/stuck-migrations. Used by SO recovery beat task to find runs that need re-migration (status='completed' but log_storage_path IS NULL after threshold).
  - `run_ids` string[], required
  - `older_than_minutes` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/helena/apis/helix-insight-variant-analysis-service.md) · [All operations](https://skmtc.dev/helena/apis/helix-insight-variant-analysis-service/llms.txt) · [OpenAPI document](https://skmtc.dev/helena/apis/helix-insight-variant-analysis-service/revisions/fe51fd20cdf1?raw)
