Skip to main content
GET
/
api
/
sandboxes
/
{id}
/
files
Read File
curl --request GET \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/files \
  --header 'X-API-Key: <api-key>'
Hello, World!

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.

Returns file content as plain text (not JSON).
id
string
required
Sandbox ID
path
string
required
Absolute path to the file
Hello, World!