Sandboxes

Batch-write multiple files in a single request. Mirrors `@vercel/sandbox` `writeFiles()`. Semantics are fail-fast: if any file errors, previously-written entries are left in place and the error describes which file broke.

post/v1/sandboxes/{id}/fs/write-batch

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/sandboxes/{id}/fs/write-batch
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

Response

All files written

writteninteger required

Number of files successfully written before the first failure (if any). On full success this equals files.len().

Changes

No recorded changes to this operation across all 50 revisions of this API.