API reference · Schema
SandboxUploadedFile
objectstringrequiredAlways `sandbox_file`: the type of this object
One of
sandbox_filepathstringrequiredWhere it was stored, relative to the workspace
sizeintegerrequiredBytes stored
Example
{
"object": "sandbox_file",
"path": "string",
"size": 1
}Used by
- Upload a file into the sandbox’s workspace (replaces it; parents are created)
PUT /v1/sandboxes/{sandbox_id}/files/content