---
title: "Update storage paths post-migration (internal)"
method: PATCH
path: "/internal/reclassification/runs/{run_id}/storage-paths"
tags: ["internal"]
---

# Update storage paths post-migration (internal)

`PATCH /internal/reclassification/runs/{run_id}/storage-paths`

## 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/{run_id}/storage-paths`
- Auth: none declared

Set log_storage_path + results_storage_path on a reclassification run.

Called by SO migration worker after successful rsync compute -> storage.
Idempotent: repeated calls with same paths produce same DB state.

Returns:
    204 No Content on success.
    404 if run_id not found.

## Path parameters

- `run_id` string, uuid, required

## Headers

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

## Request body

- InternalUpdateStoragePathsRequest: Request body for PATCH /internal/reclassification/runs/{run_id}/storage-paths. Called by SO migration worker after successful rsync compute -> storage. Both paths are required (storage migration is atomic for the run).
  - `log_storage_path` string, required: Absolute path to run.log on storage tier (e.g. /mnt/helena-storage/reclassification_runs/{id}/run.log)
  - `results_storage_path` string, required: Absolute path to results.json on storage tier

## Response `204`

Successful Response

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