Skip to main content
GET
Read a sandbox file

Authorizations

Authorization
string
header
required

Long-lived opaque API key minted by an approved user at /api. The secret is shown once, stored only as a SHA-256 digest, and disabled immediately when either the key or its API access grant is revoked.

Path Parameters

sandboxId
string
required
Pattern: ^c_[a-z2-9]{12}$

Query Parameters

path
string
required
Required string length: 1 - 1000
repo
string
Maximum string length: 201
Pattern: ^[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+$

Response

The requested read-only file document

base
object | null
required
binary
boolean
required
editable
boolean
required
editReason
string | null
required
head
object | null
required
path
string
required
previousPath
string | null
required
reviewHead
object | null
required
size
integer | null
required
Required range: 0 <= x <= 9007199254740991
status
enum<string> | null
required
Available options:
added,
deleted,
modified,
renamed,
untracked
working
object | null
required