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>'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.opencomputer.dev/llms.txt

Use this file to discover all available pages before exploring further.

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
{}