Skip to main content
POST
Read app files

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose sandbox to operate on.

Body

application/json
paths
string[]
required

One or more file paths relative to the app root.

Required array length: 1 - 50 elements
offset
integer | null

1-based start line (optional).

Required range: x >= 1
limit
integer | null

Max lines to return from offset (optional).

Required range: x >= 1

Response

One entry per requested path, each either a read or an error.

The files you asked for, in the order you asked for them.

files
ReadFileEntry · object[]
required

One entry per requested path, in request order. Each is either a successful read or an error for that path, so check for error before reading content.

Example: