Skip to main content
GET
Read a file

Authorizations

Authorization
string
header
required

A team API key, sk_offstage_…, created in the console. Everything it touches belongs to its team.

Path Parameters

sandboxId
string
required

A sandbox id, sbx_….

Query Parameters

path
string
required

Relative to the sandbox root (/Users/<slot>/offstage-sandbox/<sandbox id>): letters, digits, ., _, - and /, no .. segment, no leading / or ~, at most 1024 characters. . segments and repeated slashes are normalized away.

Required string length: 1 - 1024
Pattern: ^(?!/)(?!(.*/)?\.\.(/|$))[A-Za-z0-9._/-]+$

Response

The file's bytes.

The response is of type file.