v37

latestOpenAPI 3.1.0raw.githubusercontent.com2025-11-11200148.2 KB
Stacks

Bundle files JSON via Sandbox Manager

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

post/v1/stacks/bundle/files

Request body

entrypointstring required
tarball_filenamestring

Example request

{
  "files": [
    {
      "path": "index.html",
      "content": "<html>...</html>"
    }
  ]
}

Response

Bundled file returned

pathstring required
contentstring required