Skip to main content
PUT
/
api
/
sandboxes
/
{id}
/
files
/
upload
Signed Upload
curl --request PUT \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/files/upload \
  --header 'X-API-Key: <api-key>'
(no content)
Upload a file using a signed URL. No authentication required — the signature and expiry are validated from query parameters. Send file content as the request body. Generate a signed URL first via Generate Upload URL.
id
string
required
Sandbox ID
path
string
required
Absolute path for the destination file
expires
string
required
Unix timestamp when the URL expires
signature
string
required
HMAC-SHA256 signature
(no content)