workspace
Read source code from a file in the workspace
Returns the contents of the specified file.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Path to the file, relative to the workspace root
Example:
"src/main.py"
Optional range within the file to read
Response
200
application/json
Source code retrieved successfully