---
title: "Batch Upgrade Simulations"
method: POST
path: "/simulations/batch-upgrade"
tags: ["Simulations"]
---

# Batch Upgrade Simulations

`POST /simulations/batch-upgrade`

Batch upgrade simulations to the new storage format.

Triggers re-runs for simulations that are still in the old format (JSONB in
simulation_data table) to migrate them to the new format (parquet files in
storage).

Parameters
----------
body : BatchUpgradeRequest
    List of simulation IDs to upgrade

Returns
-------
list[BatchUpgradeResult]
    Results for each simulation upgrade attempt

## Request body

- BatchUpgradeRequest — Request body for batch upgrade endpoint.
  - `simulation_ids` string[], required — List of simulation IDs to upgrade

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
