---
title: "Bundle files JSON via Sandbox Manager"
method: POST
path: "/v1/stacks/bundle/files"
tags: ["Stacks"]
---

# Bundle files JSON via Sandbox Manager

`POST /v1/stacks/bundle/files`

Accepts a JSON array of {path, content}, packs into a tar.zst, and forwards to the Sandbox Manager /sandbox/bundle endpoint.

## Request body

- object
  - `files` object[], required — Files to bundle
    - `path` string, required
    - `content` string, required
  - `entrypoint` string, required
  - `tarball_filename` string

## Response `200`

Bundled file returned

- object
  - `path` string, required
  - `content` string, required

## Changes

- **2025-11-08** `e5105627bd8e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/benchify/apis/benchify-api/changes/v1/stacks/bundle/files/post.md)

---

[API](https://skmtc.dev/benchify/apis/benchify-api.md) · [All operations](https://skmtc.dev/benchify/apis/benchify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/benchify/benchify-api/revisions/1a65aea8dd7d/schema)
