JavaScript
Devbox
Read text file contents from Devbox filesystem.
Read file contents from a file on a Devbox as a UTF-8. Note ‘downloadFile’ should be used for large files (greater than 100MB). Returns the file contents as a UTF-8 string.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.runloop.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Devbox ID.
Body
application/json
The path on the Devbox filesystem to read the file from. Path is relative to user home directory.
Response
OK
The response is of type string.
