Skip to main content
GET
Read a file

Authorizations

Authorization
string
header
required

An API key that starts with vms_. Make one in Settings > API keys.

Path Parameters

id
string
required
Example:

"sbx_06d8k3m7q2v9x4b1n5c0e8f2ja"

Query Parameters

path
string
required

The absolute path in the sandbox.

Required string length: 1 - 4096
Pattern: ^\/
Example:

"/home/user/app/index.ts"

Response

The content of the file.

The response is of type file.