Skip to main content
PUT
/
api
/
sandboxes
/
{id}
/
files
Write File
curl --request PUT \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/files \
  --header 'X-API-Key: <api-key>'
{}
Write content to a file. The request body is written as raw file content (not JSON).
id
string
required
Sandbox ID
path
string
required
Absolute path for the destination file
{}