Skip to main content
POST
Read a text file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
path
string
required

Workspace path, for example /src/main.py.

offset
integer

First line to return, zero-based.

limit
integer

Maximum number of lines to return.

raw
boolean

Return the file without line numbers.

Response

Successful response

The response is of type object.