Skip to main content
GET
Read a file

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

machineId
string
required

Machine id

Query Parameters

path
string
required

Absolute path, or relative to /home/user

Required string length: 1 - 4096
encoding
enum<string>

Use base64 for binary files

Available options:
utf8,
base64

Response

path, encoding, size, content

path
string
required
encoding
string
required

utf8 or base64

size
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
content
string
required