Skip to content

Read multiple files

POST
/v1/sandbox/{sandboxID}/filesystem/read-files

Read multiple files. Returns multipart/form-data where each part’s name is the file path and body is the raw file bytes.

sandboxID
required
string

Unique sandbox identifier.

object
paths
required

List of file paths to read.

Array<string>
>= 1 items

Multipart response with each file as a part.

object
key
additional properties
string format: binary

Bad request – validation error.

object
message
required

Summary message, e.g. “Invalid request”.

string
errors
required
Array<object>
object
field
required

JSON field name that failed validation (e.g. “path”, “command”).

string
error
required

Human-readable description of the validation failure.

string

Unauthorized – invalid or missing API key.

object
message
required

Human-readable error message.

string