Skip to main content
POST
Write Files (Batch)
Writes multiple files to the sandbox filesystem in a single API call. All files are written atomically through envd. Parent directories are created automatically for each entry. Use batch writes to upload a project’s source files, configuration, or datasets without making one API call per file.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.

Request Body

object[]
required
Array of file entries to write. Each entry has a path and data field.

Response

Returns the envd batch write confirmation as a JSON object.

Example

Error Responses