---
title: "Batch Write"
method: POST
path: "/api/workspace/batch"
tags: ["workspace-editor"]
---

# Batch Write

`POST /api/workspace/batch`

REST endpoint: Atomic multi-file commit.

## Request body

- BatchWriteRequest
  - `files` BatchFileChange[], required
    - `path` string, required
    - `content` string, nullable
    - `action` string
  - `message` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/2e2a6de8aeda/schema)
