---
title: "Force Merge Batch"
method: POST
path: "/api/v1/file-folders/{folder_id}/batches/{batch_key}:force-merge"
tags: ["file-folders"]
---

# Force Merge Batch

`POST /api/v1/file-folders/{folder_id}/batches/{batch_key}:force-merge`

Escape hatch for a stuck batch (e.g. timed out at 9/10 files): seal
whatever live members currently exist for ``batch_key``, ignoring the
folder's configured ``batch_size``.

Reuses the exact shared seal path (``application.operations.seal_batch.seal_batch``)
and advisory lock as the automatic Nth-file seal, so force-merging is
indistinguishable from a "natural" seal to every downstream reader.

## Path parameters

- `folder_id` string, uuid, required
- `batch_key` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
